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

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

Issue 165443003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/frame/DOMWindowTimers.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Frame.cpp
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
index a39b74cb1518bb684291a8a01d1175ed0d29ebf4..336da760182bc17176b375eeb1f01eb1123a47aa 100644
--- a/Source/core/frame/Frame.cpp
+++ b/Source/core/frame/Frame.cpp
@@ -599,7 +599,7 @@ void Frame::notifyChromeClientWheelEventHandlerCountChanged() const
unsigned count = 0;
for (const Frame* frame = this; frame; frame = frame->tree().traverseNext()) {
if (frame->document())
- count += WheelController::from(frame->document())->wheelEventHandlerCount();
+ count += WheelController::from(*frame->document())->wheelEventHandlerCount();
}
m_host->chrome().client().numWheelEventHandlersChanged(count);
« no previous file with comments | « Source/core/frame/DOMWindowTimers.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698