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

Unified Diff: Source/core/css/DOMWindowCSS.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/Counter.h ('k') | Source/core/css/FontFace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/DOMWindowCSS.h
diff --git a/Source/core/css/DOMWindowCSS.h b/Source/core/css/DOMWindowCSS.h
index 399c8b1dfcd26397cc3b77e1765a97684bfa3add..1476d1ec53a06e5484d88439ac74955f11430a26 100644
--- a/Source/core/css/DOMWindowCSS.h
+++ b/Source/core/css/DOMWindowCSS.h
@@ -30,6 +30,7 @@
#ifndef DOMWindowCSS_h
#define DOMWindowCSS_h
+#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
@@ -37,7 +38,7 @@
namespace blink {
-class DOMWindowCSS : public RefCountedWillBeGarbageCollected<DOMWindowCSS> {
+class DOMWindowCSS : public RefCountedWillBeGarbageCollected<DOMWindowCSS>, public ScriptWrappable {
public:
static PassRefPtrWillBeRawPtr<DOMWindowCSS> create();
@@ -49,6 +50,7 @@ public:
private:
DOMWindowCSS()
{
+ ScriptWrappable::init(this);
}
};
« no previous file with comments | « Source/core/css/Counter.h ('k') | Source/core/css/FontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698