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

Unified Diff: Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/workers/WorkerThread.cpp ('k') | Source/modules/filesystem/InspectorFileSystemAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
diff --git a/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp b/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
index 232f6fee5abf3a6f1a895de3cc83640d9eea1aef..a99f2c278a1a6d1674584cea40403d71143d962c 100644
--- a/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
+++ b/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp
@@ -24,7 +24,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());
}
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/filesystem/InspectorFileSystemAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698