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

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

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Rebase 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 5bf6441258d162eeb96671455bca7962985f2ab5..5211943525f4969b80fffdde2f573ce7f5eb523f 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -4017,7 +4017,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() {
@@ -4932,7 +4932,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) {

Powered by Google App Engine
This is Rietveld 408576698