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

Unified Diff: third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp b/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
index 225e8c96608de5a98e6ca3ee4ba086ab8f805d09..adce04d5785d06c7888241733d8c41f6173c1815 100644
--- a/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
+++ b/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
@@ -31,10 +31,10 @@ const char* DeviceLightController::supplementName()
DeviceLightController& DeviceLightController::from(Document& document)
{
- DeviceLightController* controller = static_cast<DeviceLightController*>(HeapSupplement<Document>::from(document, supplementName()));
+ DeviceLightController* controller = static_cast<DeviceLightController*>(Supplement<Document>::from(document, supplementName()));
if (!controller) {
controller = new DeviceLightController(document);
- HeapSupplement<Document>::provideTo(document, supplementName(), controller);
+ Supplement<Document>::provideTo(document, supplementName(), controller);
}
return *controller;
}
@@ -74,7 +74,7 @@ const AtomicString& DeviceLightController::eventTypeName() const
DEFINE_TRACE(DeviceLightController)
{
DeviceSingleWindowEventController::trace(visitor);
- HeapSupplement<Document>::trace(visitor);
+ Supplement<Document>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698