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

Unified Diff: Source/core/css/Counter.h

Issue 412183003: bindings: Makes more DOM classes inherit from ScriptWrappable (part 3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reverted RGBColor and Rect. Created 6 years, 5 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
« no previous file with comments | « Source/core/css/CSSStyleSheet.cpp ('k') | Source/core/css/DOMWindowCSS.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/Counter.h
diff --git a/Source/core/css/Counter.h b/Source/core/css/Counter.h
index b921d628a6544207948cd3a48d31afd6f0b44c21..129376ac2d22f581a1f2075937f7a817233a67fa 100644
--- a/Source/core/css/Counter.h
+++ b/Source/core/css/Counter.h
@@ -21,12 +21,13 @@
#ifndef Counter_h
#define Counter_h
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/css/CSSPrimitiveValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
-class Counter : public RefCountedWillBeGarbageCollected<Counter> {
+class Counter : public RefCountedWillBeGarbageCollected<Counter>, public ScriptWrappable {
public:
static PassRefPtrWillBeRawPtr<Counter> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> identifier, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> listStyle, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> separator)
{
@@ -65,6 +66,7 @@ private:
, m_listStyle(listStyle)
, m_separator(separator)
{
+ ScriptWrappable::init(this);
}
RefPtrWillBeMember<CSSPrimitiveValue> m_identifier; // string
« no previous file with comments | « Source/core/css/CSSStyleSheet.cpp ('k') | Source/core/css/DOMWindowCSS.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698