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

Unified Diff: sky/engine/core/dom/Range.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/dom/NodeList.h ('k') | sky/engine/core/dom/Text.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Range.cpp
diff --git a/sky/engine/core/dom/Range.cpp b/sky/engine/core/dom/Range.cpp
index 389ed9499ce64043045058fb6612824ce8224a00..8982e32563a0b2c284379851cfb45005a8e3112f 100644
--- a/sky/engine/core/dom/Range.cpp
+++ b/sky/engine/core/dom/Range.cpp
@@ -63,7 +63,6 @@ inline Range::Range(Document& ownerDocument)
rangeCounter.increment();
#endif
- ScriptWrappable::init(this);
m_ownerDocument->attachRange(this);
}
@@ -81,7 +80,6 @@ inline Range::Range(Document& ownerDocument, Node* startContainer, int startOffs
rangeCounter.increment();
#endif
- ScriptWrappable::init(this);
m_ownerDocument->attachRange(this);
// Simply setting the containers and offsets directly would not do any of the checking
« no previous file with comments | « sky/engine/core/dom/NodeList.h ('k') | sky/engine/core/dom/Text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698