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

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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/SVGZoomEvent.h
diff --git a/Source/core/svg/SVGZoomEvent.h b/Source/core/svg/SVGZoomEvent.h
index 266f9853306fc1e9c3a20f446df5bae9052f1d72..9945843c68bbf9df04faa4628b8f781c204b7184 100644
--- a/Source/core/svg/SVGZoomEvent.h
+++ b/Source/core/svg/SVGZoomEvent.h
@@ -30,7 +30,10 @@ namespace WebCore {
class SVGZoomEvent FINAL : public UIEvent {
public:
- static PassRefPtr<SVGZoomEvent> create() { return adoptRef(new SVGZoomEvent); }
+ static PassRefPtrWillBeRawPtr<SVGZoomEvent> create()
+ {
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new SVGZoomEvent);
+ }
// 'SVGZoomEvent' functions
PassRefPtr<SVGRectTearOff> zoomRectScreen() const;

Powered by Google App Engine
This is Rietveld 408576698