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

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

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 6 years, 8 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
Index: Source/modules/device_orientation/DeviceMotionController.cpp
diff --git a/Source/modules/device_orientation/DeviceMotionController.cpp b/Source/modules/device_orientation/DeviceMotionController.cpp
index d36e1983f4f4121ac381586f821816928f26cf82..85848a15df4ba1c87229050cb55ee1e16bad13c6 100644
--- a/Source/modules/device_orientation/DeviceMotionController.cpp
+++ b/Source/modules/device_orientation/DeviceMotionController.cpp
@@ -62,7 +62,7 @@ DeviceMotionController& DeviceMotionController::from(Document& document)
DeviceMotionController* controller = static_cast<DeviceMotionController*>(DocumentSupplement::from(document, supplementName()));
if (!controller) {
controller = new DeviceMotionController(document);
- DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller));
+ DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
}
return *controller;
}

Powered by Google App Engine
This is Rietveld 408576698