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

Unified Diff: Source/core/css/StyleMedia.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/RGBColor.h ('k') | Source/core/css/StyleMedia.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleMedia.h
diff --git a/Source/core/css/StyleMedia.h b/Source/core/css/StyleMedia.h
index 7afd941d406054c538209bd5e5dba986798b0c9c..0994f8d46209ea904540c89868df6a65d29d9ad0 100644
--- a/Source/core/css/StyleMedia.h
+++ b/Source/core/css/StyleMedia.h
@@ -27,6 +27,7 @@
#ifndef StyleMedia_h
#define StyleMedia_h
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/frame/DOMWindowProperty.h"
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
@@ -36,7 +37,7 @@ namespace blink {
class LocalFrame;
-class StyleMedia : public RefCountedWillBeGarbageCollectedFinalized<StyleMedia>, public DOMWindowProperty {
+class StyleMedia : public RefCountedWillBeGarbageCollectedFinalized<StyleMedia>, public DOMWindowProperty, public ScriptWrappable {
public:
static PassRefPtrWillBeRawPtr<StyleMedia> create(LocalFrame* frame) { return adoptRefWillBeNoop(new StyleMedia(frame));}
« no previous file with comments | « Source/core/css/RGBColor.h ('k') | Source/core/css/StyleMedia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698