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

Unified Diff: Source/core/svg/SVGImageLoader.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
« Source/core/loader/ImageLoader.h ('K') | « Source/core/svg/SVGImageElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGImageLoader.h
diff --git a/Source/core/svg/SVGImageLoader.h b/Source/core/svg/SVGImageLoader.h
index fc9de7e7fde73d2c08829008828d7e3618c2eb95..41687fe57b0256704df703ebae4648d2a072f622 100644
--- a/Source/core/svg/SVGImageLoader.h
+++ b/Source/core/svg/SVGImageLoader.h
@@ -28,9 +28,13 @@ class SVGImageElement;
class SVGImageLoader FINAL : public ImageLoader {
public:
- SVGImageLoader(SVGImageElement*);
+ static PassOwnPtrWillBeRawPtr<SVGImageLoader> create(SVGImageElement* element)
+ {
+ return adoptPtrWillBeNoop(new SVGImageLoader(element));
+ }
private:
+ explicit SVGImageLoader(SVGImageElement*);
virtual void dispatchLoadEvent() OVERRIDE;
virtual String sourceURI(const AtomicString&) const OVERRIDE;
};
« Source/core/loader/ImageLoader.h ('K') | « Source/core/svg/SVGImageElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698