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

Unified Diff: Source/core/svg/SVGElementInstance.cpp

Issue 15492007: Make SVG objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix indent Created 7 years, 7 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/svg/SVGElementInstance.h ('k') | Source/core/svg/SVGElementInstanceList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElementInstance.cpp
diff --git a/Source/core/svg/SVGElementInstance.cpp b/Source/core/svg/SVGElementInstance.cpp
index a7e5d02a4a5dd46a7ed9f2b563c7942afe741943..8fe25cc2e5985f6ceb515822ea57fd2d09f9dfb2 100644
--- a/Source/core/svg/SVGElementInstance.cpp
+++ b/Source/core/svg/SVGElementInstance.cpp
@@ -51,6 +51,7 @@ SVGElementInstance::SVGElementInstance(SVGUseElement* correspondingUseElement, S
{
ASSERT(m_correspondingUseElement);
ASSERT(m_element);
+ ScriptWrappable::init(this);
// Register as instance for passed element.
m_element->mapInstanceToElement(this);
« no previous file with comments | « Source/core/svg/SVGElementInstance.h ('k') | Source/core/svg/SVGElementInstanceList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698