Fix a typo ("threshold") (#2583)

This commit is contained in:
Jason Simmons
2016-04-07 10:37:33 -07:00
parent eaa5e9fb5d
commit c1b21af2c5
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
namespace flow {
LayerTree::LayerTree() : scene_version_(0), rasterizer_tracing_threashold_(0) {
LayerTree::LayerTree() : scene_version_(0), rasterizer_tracing_threshold_(0) {
}
LayerTree::~LayerTree() {

View File

@@ -55,11 +55,11 @@ class LayerTree {
// trace the rasterized picture to a trace file. Specify 0 to disable all
// tracing
void set_rasterizer_tracing_threshold(uint32_t interval) {
rasterizer_tracing_threashold_ = interval;
rasterizer_tracing_threshold_ = interval;
}
uint32_t rasterizer_tracing_threshold() const {
return rasterizer_tracing_threashold_;
return rasterizer_tracing_threshold_;
}
private:
@@ -68,7 +68,7 @@ class LayerTree {
std::unique_ptr<Layer> root_layer_;
base::TimeDelta construction_time_;
uint32_t rasterizer_tracing_threashold_;
uint32_t rasterizer_tracing_threshold_;
DISALLOW_COPY_AND_ASSIGN(LayerTree);
};