Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / device_orientation / DeviceOrientationEvent.h
index a789935..911d010 100644 (file)
@@ -27,7 +27,7 @@
 #define DeviceOrientationEvent_h
 
 #include "core/events/Event.h"
-#include "heap/Handle.h"
+#include "platform/heap/Handle.h"
 
 namespace WebCore {
 
@@ -38,11 +38,11 @@ public:
     virtual ~DeviceOrientationEvent();
     static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create()
     {
-        return adoptRefWillBeRefCountedGarbageCollected(new DeviceOrientationEvent);
+        return adoptRefWillBeNoop(new DeviceOrientationEvent);
     }
     static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
     {
-        return adoptRefWillBeRefCountedGarbageCollected(new DeviceOrientationEvent(eventType, orientation));
+        return adoptRefWillBeNoop(new DeviceOrientationEvent(eventType, orientation));
     }
 
     void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData*);