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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.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/core/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 615977dae8bbed12fabeac6b84b08b47a602768b..df88ee803bfa54461706c43cd488b9ee9ce6ef08 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -680,7 +680,7 @@ LocalFrame* VisualViewport::MainFrame() const {
bool VisualViewport::ScheduleAnimation() {
if (PlatformChromeClient* client = GetChromeClient()) {
- client->ScheduleAnimation(MainFrame());
+ client->ScheduleAnimation(MainFrame()->View());
return true;
}
return false;
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameViewTest.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698