Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: third_party/WebKit/Source/web/InspectorOverlayAgent.cpp

Issue 2868173002: Add PlatformLocalFrame class. (Closed)
Patch Set: this time with new file included Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
« no previous file with comments | « third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp ('k') | third_party/WebKit/Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698