X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fdevice_orientation%2FDeviceRotationRate.h;h=614fb50499400fb251bb9a2747b78fa10eb6bb36;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=7b3b68646acfdcba9e4b950c9c518eee09d1a139;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.h b/src/third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.h index 7b3b686..614fb50 100644 --- a/src/third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.h +++ b/src/third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.h @@ -29,15 +29,15 @@ #include "bindings/core/v8/ScriptWrappable.h" #include "modules/device_orientation/DeviceMotionData.h" #include "platform/heap/Handle.h" -#include "wtf/RefCounted.h" namespace blink { -class DeviceRotationRate : public RefCountedWillBeGarbageCollected, public ScriptWrappable { +class DeviceRotationRate FINAL : public GarbageCollected, public ScriptWrappable { + DEFINE_WRAPPERTYPEINFO(); public: - static PassRefPtrWillBeRawPtr create(PassRefPtrWillBeRawPtr rotationRate) + static DeviceRotationRate* create(DeviceMotionData::RotationRate* rotationRate) { - return adoptRefWillBeNoop(new DeviceRotationRate(rotationRate)); + return new DeviceRotationRate(rotationRate); } void trace(Visitor*); @@ -46,9 +46,9 @@ public: double gamma(bool& isNull) const; private: - DeviceRotationRate(PassRefPtrWillBeRawPtr); + explicit DeviceRotationRate(DeviceMotionData::RotationRate*); - RefPtrWillBeMember m_rotationRate; + Member m_rotationRate; }; } // namespace blink