Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / events / BeforeUnloadEvent.h
index d65fc1f..5c5b4f9 100644 (file)
@@ -35,7 +35,7 @@ public:
 
     static PassRefPtrWillBeRawPtr<BeforeUnloadEvent> create()
     {
-        return adoptRefWillBeRefCountedGarbageCollected(new BeforeUnloadEvent);
+        return adoptRefWillBeNoop(new BeforeUnloadEvent);
     }
 
     virtual bool isBeforeUnloadEvent() const OVERRIDE;