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

Unified Diff: Source/modules/gamepad/NavigatorGamepad.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/gamepad/NavigatorGamepad.h
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h
index 84ad49f5d476792068f41f2913361c34db101489..9144eccf53048671e56e53ac650fc3703c94bf27 100644
--- a/Source/modules/gamepad/NavigatorGamepad.h
+++ b/Source/modules/gamepad/NavigatorGamepad.h
@@ -37,9 +37,9 @@ class Navigator;
class NavigatorGamepad FINAL : public Supplement<Navigator> {
public:
virtual ~NavigatorGamepad();
- static NavigatorGamepad* from(Navigator*);
+ static NavigatorGamepad& from(Navigator&);
- static GamepadList* webkitGetGamepads(Navigator*);
+ static GamepadList* webkitGetGamepads(Navigator&);
GamepadList* gamepads();

Powered by Google App Engine
This is Rietveld 408576698