| Index: third_party/WebKit/Source/web/InspectorOverlayAgent.cpp
|
| diff --git a/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp b/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp
|
| index af9fa696ce84e8e71db639210744ecb0f8d5af32..ab47f9c9eb195df5a3096dbdf3450768c977f32c 100644
|
| --- a/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp
|
| +++ b/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp
|
| @@ -510,6 +510,18 @@ void InspectorOverlayAgent::Invalidate() {
|
| page_overlay_->Update();
|
| }
|
|
|
| +void InspectorOverlayAgent::PaintOverlay() {
|
| + UpdateAllLifecyclePhases();
|
| + // TODO(chrishtr): integrate paint into the overlay's lifecycle.
|
| + if (page_overlay_ && page_overlay_->GetGraphicsLayer())
|
| + page_overlay_->GetGraphicsLayer()->Paint(nullptr);
|
| +}
|
| +
|
| +void InspectorOverlayAgent::LayoutOverlay() {
|
| + if (page_overlay_)
|
| + page_overlay_->Update();
|
| +}
|
| +
|
| void InspectorOverlayAgent::UpdateAllLifecyclePhases() {
|
| if (IsEmpty())
|
| return;
|
|
|