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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Small feedback Created 3 years, 10 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/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index a2e0bdb3c4ea323c051952daee7ad2c792735159..ab03ea65f4af2259a15a1d383ded4d076e950a4d 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -4020,7 +4020,7 @@ void FrameView::updateScrollOffset(const ScrollOffset& offset,
void FrameView::didChangeScrollOffset() {
frame().loader().client()->didChangeScrollOffset();
if (frame().isMainFrame())
- frame().host()->chromeClient().mainFrameScrollOffsetChanged();
+ frame().page()->chromeClient().mainFrameScrollOffsetChanged();
}
void FrameView::clearScrollAnchor() {
@@ -4935,7 +4935,7 @@ void FrameView::beginLifecycleUpdates() {
// The compositor will "defer commits" for the main frame until we
// explicitly request them.
if (frame().isMainFrame())
- frame().host()->chromeClient().beginLifecycleUpdates();
+ frame().page()->chromeClient().beginLifecycleUpdates();
}
void FrameView::setInitialViewportSize(const IntSize& viewportSize) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698