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

Unified Diff: Source/core/css/MediaList.cpp

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/MediaList.h ('k') | Source/core/css/MediaQueryList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaList.cpp
diff --git a/Source/core/css/MediaList.cpp b/Source/core/css/MediaList.cpp
index 917cd5194d1e2d71c3fd8119f0fb0ba062b8c07a..cd5aab16d3fcd98b5ebfcebd014489d9449b4f75 100644
--- a/Source/core/css/MediaList.cpp
+++ b/Source/core/css/MediaList.cpp
@@ -182,6 +182,7 @@ MediaList::MediaList(MediaQuerySet* mediaQueries, CSSStyleSheet* parentSheet)
, m_parentStyleSheet(parentSheet)
, m_parentRule(nullptr)
{
+ ScriptWrappable::init(this);
}
MediaList::MediaList(MediaQuerySet* mediaQueries, CSSRule* parentRule)
@@ -189,6 +190,7 @@ MediaList::MediaList(MediaQuerySet* mediaQueries, CSSRule* parentRule)
, m_parentStyleSheet(nullptr)
, m_parentRule(parentRule)
{
+ ScriptWrappable::init(this);
}
MediaList::~MediaList()
« no previous file with comments | « Source/core/css/MediaList.h ('k') | Source/core/css/MediaQueryList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698