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

Unified Diff: Source/core/svg/SVGViewSpec.h

Issue 315893002: SVGViewSpec wrapper should keep its context SVGSVGElement wrapper alive. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 6 years, 6 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 | « LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash-expected.txt ('k') | Source/core/svg/SVGViewSpec.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGViewSpec.h
diff --git a/Source/core/svg/SVGViewSpec.h b/Source/core/svg/SVGViewSpec.h
index 21a1dfcce0406fd2fde8a3637d9a27c9056c29ae..c9dabb76f9b1091f15fb725221fe52202b974e7d 100644
--- a/Source/core/svg/SVGViewSpec.h
+++ b/Source/core/svg/SVGViewSpec.h
@@ -60,6 +60,8 @@ public:
void trace(Visitor*);
void clearWeakMembers(Visitor*);
+ SVGSVGElement* contextElement() { return m_contextElement.get(); }
+
private:
explicit SVGViewSpec(SVGSVGElement*);
« no previous file with comments | « LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash-expected.txt ('k') | Source/core/svg/SVGViewSpec.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698