Index: Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp |
diff --git a/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp b/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp |
index e49ad92e5365d2707927e6c3c8ee8d54e5370653..dfbc8fd56befb71ccdbeb1066436359581a5e54c 100644 |
--- a/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp |
+++ b/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp |
@@ -25,7 +25,7 @@ static const char overrideEnabled[] = "overrideEnabled"; |
void DeviceOrientationInspectorAgent::provideTo(Page& page) |
{ |
- OwnPtr<DeviceOrientationInspectorAgent> deviceOrientationAgent(adoptPtr(new DeviceOrientationInspectorAgent(page))); |
+ OwnPtrWillBeRawPtr<DeviceOrientationInspectorAgent> deviceOrientationAgent(adoptPtrWillBeNoop(new DeviceOrientationInspectorAgent(page))); |
page.inspectorController().registerModuleAgent(deviceOrientationAgent.release()); |
} |