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

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

Issue 2873213002: Add PlatformFrameView class. (Closed)
Patch Set: #include PlatformFrameView inside platform.dll 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..ad3a9198b33689c41599bcf00765009868851485 100644
--- a/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp
@@ -196,11 +196,11 @@ class InspectorOverlayAgent::InspectorOverlayChromeClient final
void InvalidateRect(const IntRect&) override { overlay_->Invalidate(); }
- void ScheduleAnimation(LocalFrame* frame) override {
+ void ScheduleAnimation(const PlatformFrameView* frame_view) override {
if (overlay_->in_layout_)
return;
- client_->ScheduleAnimation(frame);
+ client_->ScheduleAnimation(frame_view);
}
private:
@@ -678,7 +678,7 @@ void InspectorOverlayAgent::ScheduleUpdate() {
needs_update_ = true;
LocalFrame* frame = frame_impl_->GetFrame();
if (frame) {
- frame->GetPage()->GetChromeClient().ScheduleAnimation(frame);
+ frame->GetPage()->GetChromeClient().ScheduleAnimation(frame->View());
}
}
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698