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

Unified Diff: Source/modules/gamepad/GamepadList.h

Issue 195993007: Factor out GamepadCommon base class from Gamepad and WebKitGamepad (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ABC FIXME Created 6 years, 9 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/GamepadList.h
diff --git a/Source/modules/gamepad/GamepadList.h b/Source/modules/gamepad/GamepadList.h
index b19e6afc5c042d2e2ff471da76bf39ceb9734733..57415d93be75df0a6ed1abf99c7bce7941eeb69a 100644
--- a/Source/modules/gamepad/GamepadList.h
+++ b/Source/modules/gamepad/GamepadList.h
@@ -47,12 +47,15 @@ public:
void trace(Visitor*);
-private:
+protected:
+ // inherited by WebKitGamepadList
GamepadList()
{
ScriptWrappable::init(this);
}
+private:
+ // WebKitGamepadList items are of type WebKitGamepad, not Gamepad
haraken 2014/03/13 07:08:50 Remove this comment. Or move the comment to WebKit
RefPtrWillBeMember<Gamepad> m_items[blink::WebGamepads::itemsLengthCap];
};

Powered by Google App Engine
This is Rietveld 408576698