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 ab47f9c9eb195df5a3096dbdf3450768c977f32c..22b950b8ad767ce2bf781e0fce926ac8a1528827 100644 |
--- a/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp |
+++ b/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp |
@@ -196,7 +196,7 @@ class InspectorOverlayAgent::InspectorOverlayChromeClient final |
void InvalidateRect(const IntRect&) override { overlay_->Invalidate(); } |
- void ScheduleAnimation(LocalFrame* frame) override { |
+ void ScheduleAnimation(const PlatformLocalFrame* frame) override { |
if (overlay_->in_layout_) |
return; |
@@ -883,7 +883,7 @@ void InspectorOverlayAgent::Reset(const IntSize& viewport_size, |
IntRect viewport_in_screen = |
frame_impl_->GetFrame()->GetPage()->GetChromeClient().ViewportToScreen( |
- IntRect(IntPoint(), viewport_size), frame_impl_->GetFrame()->View()); |
+ IntRect(IntPoint(), viewport_size), frame_impl_->GetFrame()); |
reset_data->setObject("viewportSize", |
BuildObjectForSize(viewport_in_screen.Size())); |