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

Unified Diff: Source/core/page/Frame.cpp

Issue 22955006: Chrome::client() should return a ChromeClient reference. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/core/page/DOMWindow.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Frame.cpp
diff --git a/Source/core/page/Frame.cpp b/Source/core/page/Frame.cpp
index 76b5c3bb0bb692843b1a3258bb217caa2fff1d81..c9bd2723814c94444bc374c8e88e8147d5137b21 100644
--- a/Source/core/page/Frame.cpp
+++ b/Source/core/page/Frame.cpp
@@ -579,7 +579,7 @@ void Frame::deviceOrPageScaleFactorChanged()
for (RefPtr<Frame> child = tree()->firstChild(); child; child = child->tree()->nextSibling())
child->deviceOrPageScaleFactorChanged();
- m_page->chrome().client()->deviceOrPageScaleFactorChanged();
+ m_page->chrome().client().deviceOrPageScaleFactorChanged();
}
void Frame::notifyChromeClientWheelEventHandlerCountChanged() const
@@ -593,7 +593,7 @@ void Frame::notifyChromeClientWheelEventHandlerCountChanged() const
count += frame->document()->wheelEventHandlerCount();
}
- m_page->chrome().client()->numWheelEventHandlersChanged(count);
+ m_page->chrome().client().numWheelEventHandlersChanged(count);
}
bool Frame::isURLAllowed(const KURL& url) const
« no previous file with comments | « Source/core/page/DOMWindow.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698