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

Unified Diff: Source/modules/screen_orientation/ScreenOrientationController.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/modules/screen_orientation/ScreenOrientationController.h
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h
index b771761a5ab891e81f7428299f60d5f39c247105..79c850b8ce5b610296c02b1524055e3a67b11774 100644
--- a/Source/modules/screen_orientation/ScreenOrientationController.h
+++ b/Source/modules/screen_orientation/ScreenOrientationController.h
@@ -19,7 +19,7 @@ public:
blink::WebScreenOrientation orientation() const { return m_orientation; }
// DocumentSupplement API.
- static ScreenOrientationController* from(Document*);
+ static ScreenOrientationController& from(Document&);
static const char* supplementName();
private:

Powered by Google App Engine
This is Rietveld 408576698