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

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

Issue 320253002: Oilpan: Prepare to move ImageLoader and its subclasses to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
Index: Source/core/svg/SVGImageElement.h
diff --git a/Source/core/svg/SVGImageElement.h b/Source/core/svg/SVGImageElement.h
index 580a4d9b814baabd83504ea21f2dbc1af0b9870c..02806b6d7b1957597268aa0297fef972f16e0b0e 100644
--- a/Source/core/svg/SVGImageElement.h
+++ b/Source/core/svg/SVGImageElement.h
@@ -35,6 +35,7 @@ class SVGImageElement FINAL : public SVGGraphicsElement,
public SVGURIReference {
public:
DECLARE_NODE_FACTORY(SVGImageElement);
+ virtual void trace(Visitor*) OVERRIDE;
bool currentFrameHasSingleSecurityOrigin() const;
@@ -66,6 +67,7 @@ private:
virtual bool selfHasRelativeLengths() const OVERRIDE;
virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
+ SVGImageLoader& imageLoader() { return *m_imageLoader; }
RefPtr<SVGAnimatedLength> m_x;
RefPtr<SVGAnimatedLength> m_y;
@@ -73,7 +75,7 @@ private:
RefPtr<SVGAnimatedLength> m_height;
RefPtr<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
- SVGImageLoader m_imageLoader;
+ OwnPtrWillBeMember<SVGImageLoader> m_imageLoader;
bool m_needsLoaderURIUpdate : 1;
};

Powered by Google App Engine
This is Rietveld 408576698