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

Unified Diff: Source/core/dom/WheelController.h

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/dom/WheelController.h
diff --git a/Source/core/dom/WheelController.h b/Source/core/dom/WheelController.h
index 5f25f9831f25f0d517f89e327008bcc5d5513e7d..49879f4f0045652d012bd63b9ea1bd7ad446039d 100644
--- a/Source/core/dom/WheelController.h
+++ b/Source/core/dom/WheelController.h
@@ -41,19 +41,19 @@ public:
virtual ~WheelController();
static const char* supplementName();
- static WheelController* from(Document*);
+ static WheelController* from(Document&);
unsigned wheelEventHandlerCount() { return m_wheelEventHandlerCount; }
- void didAddWheelEventHandler(Document*);
- void didRemoveWheelEventHandler(Document*);
+ void didAddWheelEventHandler(Document&);
+ void didRemoveWheelEventHandler(Document&);
// Inherited from DOMWindowLifecycleObserver
virtual void didAddEventListener(DOMWindow*, const AtomicString&) OVERRIDE;
virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRIDE;
private:
- explicit WheelController(Document*);
+ explicit WheelController(Document&);
unsigned m_wheelEventHandlerCount;
};

Powered by Google App Engine
This is Rietveld 408576698