diff --git a/engine/src/flutter/flow/layers/layer_tree.cc b/engine/src/flutter/flow/layers/layer_tree.cc index 53219ff833..443c00a60f 100644 --- a/engine/src/flutter/flow/layers/layer_tree.cc +++ b/engine/src/flutter/flow/layers/layer_tree.cc @@ -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() { diff --git a/engine/src/flutter/flow/layers/layer_tree.h b/engine/src/flutter/flow/layers/layer_tree.h index 045639997a..4e15e3cedc 100644 --- a/engine/src/flutter/flow/layers/layer_tree.h +++ b/engine/src/flutter/flow/layers/layer_tree.h @@ -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 root_layer_; base::TimeDelta construction_time_; - uint32_t rasterizer_tracing_threashold_; + uint32_t rasterizer_tracing_threshold_; DISALLOW_COPY_AND_ASSIGN(LayerTree); };