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

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

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
Index: Source/core/frame/Frame.cpp
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
index 323f7b57636359d1e2d9d81c67c97eb43bcb313b..fa53b8449e3e86a65925ce96c7ec59d1611fb050 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);

Powered by Google App Engine
This is Rietveld 408576698