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

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

Issue 424783002: bindings: Makes all the DOM classes derive ScriptWrappableBase. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. 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/CSSValue.h ('k') | Source/core/css/Rect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RGBColor.h
diff --git a/Source/core/css/RGBColor.h b/Source/core/css/RGBColor.h
index f2c019bf04addba215e107aeef1bcdaadc6a5791..1b4342a42a42dc8ece7ea6d58ad1b67aab24bb3c 100644
--- a/Source/core/css/RGBColor.h
+++ b/Source/core/css/RGBColor.h
@@ -27,6 +27,7 @@
#ifndef RGBColor_h
#define RGBColor_h
+#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/graphics/Color.h"
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
@@ -35,7 +36,7 @@ namespace blink {
class CSSPrimitiveValue;
-class RGBColor : public RefCountedWillBeGarbageCollected<RGBColor> {
+class RGBColor : public RefCountedWillBeGarbageCollected<RGBColor>, public ScriptWrappableBase {
public:
static PassRefPtrWillBeRawPtr<RGBColor> create(unsigned rgbColor);
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/Rect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698