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

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, 9 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/storage/StorageEvent.cpp ('k') | Source/core/xml/XMLHttpRequestProgressEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGZoomEvent.h
diff --git a/Source/core/svg/SVGZoomEvent.h b/Source/core/svg/SVGZoomEvent.h
index 266f9853306fc1e9c3a20f446df5bae9052f1d72..635567eb62935c653210df8d9888f53decf6410b 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 adoptRefWillBeRefCountedGarbageCollected(new SVGZoomEvent);
+ }
// 'SVGZoomEvent' functions
PassRefPtr<SVGRectTearOff> zoomRectScreen() const;
« no previous file with comments | « Source/core/storage/StorageEvent.cpp ('k') | Source/core/xml/XMLHttpRequestProgressEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698