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

Unified Diff: Source/core/css/CSSStyleSheet.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/CSSRuleList.cpp ('k') | Source/core/css/Counter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleSheet.cpp
diff --git a/Source/core/css/CSSStyleSheet.cpp b/Source/core/css/CSSStyleSheet.cpp
index 81de18b4ad8a3315316c656868981a762af67663..6add0d9bd607dedfe887bac7410fa41a9551046d 100644
--- a/Source/core/css/CSSStyleSheet.cpp
+++ b/Source/core/css/CSSStyleSheet.cpp
@@ -123,6 +123,7 @@ CSSStyleSheet::CSSStyleSheet(PassRefPtrWillBeRawPtr<StyleSheetContents> contents
, m_startPosition(TextPosition::minimumPosition())
, m_loadCompleted(false)
{
+ ScriptWrappable::init(this);
m_contents->registerClient(this);
}
@@ -135,6 +136,7 @@ CSSStyleSheet::CSSStyleSheet(PassRefPtrWillBeRawPtr<StyleSheetContents> contents
, m_startPosition(startPosition)
, m_loadCompleted(false)
{
+ ScriptWrappable::init(this);
ASSERT(isAcceptableCSSStyleSheetParent(ownerNode));
m_contents->registerClient(this);
}
« no previous file with comments | « Source/core/css/CSSRuleList.cpp ('k') | Source/core/css/Counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698