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

Unified Diff: sky/engine/core/css/CSSStyleSheet.cpp

Issue 706123005: Remove nop ScriptWrappable::init calls (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/css/CSSStyleDeclaration.h ('k') | sky/engine/core/css/DOMWindowCSS.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSStyleSheet.cpp
diff --git a/sky/engine/core/css/CSSStyleSheet.cpp b/sky/engine/core/css/CSSStyleSheet.cpp
index 133da5cfc3b6d3f245feb6ffd45b01286e61aa24..a2f336a38b87350452f8eb2503ffa1094ef769b2 100644
--- a/sky/engine/core/css/CSSStyleSheet.cpp
+++ b/sky/engine/core/css/CSSStyleSheet.cpp
@@ -105,7 +105,6 @@ CSSStyleSheet::CSSStyleSheet(PassRefPtr<StyleSheetContents> contents)
, m_ownerNode(nullptr)
, m_startPosition(TextPosition::minimumPosition())
{
- ScriptWrappable::init(this);
m_contents->registerClient(this);
}
@@ -115,7 +114,6 @@ CSSStyleSheet::CSSStyleSheet(PassRefPtr<StyleSheetContents> contents, Node* owne
, m_ownerNode(ownerNode)
, m_startPosition(startPosition)
{
- ScriptWrappable::init(this);
ASSERT(isAcceptableCSSStyleSheetParent(ownerNode));
m_contents->registerClient(this);
}
« no previous file with comments | « sky/engine/core/css/CSSStyleDeclaration.h ('k') | sky/engine/core/css/DOMWindowCSS.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698