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

Unified Diff: Source/modules/device_orientation/DeviceOrientationController.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: using namespace WebCore 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/DeviceOrientationController.cpp
diff --git a/Source/modules/device_orientation/DeviceOrientationController.cpp b/Source/modules/device_orientation/DeviceOrientationController.cpp
index 779b3284abaf28bfd269ab369ff94aecaa97e0b4..3506a891df487398b5c65f894332b92e48253425 100644
--- a/Source/modules/device_orientation/DeviceOrientationController.cpp
+++ b/Source/modules/device_orientation/DeviceOrientationController.cpp
@@ -65,7 +65,7 @@ DeviceOrientationController& DeviceOrientationController::from(Document& documen
DeviceOrientationController* controller = static_cast<DeviceOrientationController*>(DocumentSupplement::from(document, supplementName()));
if (!controller) {
controller = new DeviceOrientationController(document);
- DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller));
+ DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
}
return *controller;
}
@@ -149,4 +149,9 @@ void DeviceOrientationController::clearOverride()
didChangeDeviceOrientation(orientation);
}
+void DeviceOrientationController::trace(Visitor* visitor)
+{
+ visitor->trace(m_overrideOrientationData);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/modules/device_orientation/DeviceOrientationController.h ('k') | Source/modules/encryptedmedia/MediaKeysController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698