diff --git a/flow/scene_update_context.cc b/flow/scene_update_context.cc index 89a474bcd..e5e4bac42 100644 --- a/flow/scene_update_context.cc +++ b/flow/scene_update_context.cc @@ -306,7 +306,7 @@ SceneUpdateContext::Frame::~Frame() { std::move(paint_layers_)); } -void SceneUpdateContext::Frame::AddPaintedLayer(Layer* layer) { +void SceneUpdateContext::Frame::AddPaintLayer(Layer* layer) { FML_DCHECK(layer->needs_painting()); paint_layers_.push_back(layer); paint_bounds_.join(layer->paint_bounds()); diff --git a/flow/scene_update_context.h b/flow/scene_update_context.h index 9d52e34fb..22e39e63a 100644 --- a/flow/scene_update_context.h +++ b/flow/scene_update_context.h @@ -102,7 +102,7 @@ class SceneUpdateContext { float elevation); ~Frame(); - void AddPaintedLayer(Layer* layer); + void AddPaintLayer(Layer* layer); private: const SkRRect& rrect_;