X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fcss%2FCounter.h;h=129376ac2d22f581a1f2075937f7a817233a67fa;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=68b3a7360fbdce2d5ce3d6ca3c1cb93a298ba785;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/css/Counter.h b/src/third_party/WebKit/Source/core/css/Counter.h index 68b3a73..129376a 100644 --- a/src/third_party/WebKit/Source/core/css/Counter.h +++ b/src/third_party/WebKit/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 WebCore { +namespace blink { -class Counter : public RefCountedWillBeGarbageCollected { +class Counter : public RefCountedWillBeGarbageCollected, public ScriptWrappable { public: static PassRefPtrWillBeRawPtr create(PassRefPtrWillBeRawPtr identifier, PassRefPtrWillBeRawPtr listStyle, PassRefPtrWillBeRawPtr separator) { @@ -65,6 +66,7 @@ private: , m_listStyle(listStyle) , m_separator(separator) { + ScriptWrappable::init(this); } RefPtrWillBeMember m_identifier; // string @@ -72,6 +74,6 @@ private: RefPtrWillBeMember m_separator; // string }; -} // namespace WebCore +} // namespace blink #endif // Counter_h