Index: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp |
diff --git a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp |
index 8c46f6699de6cf92d483da78366ff2579e050c3c..331e672b50e8610b5a72b99e986333bd2ca7b1de 100644 |
--- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp |
+++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp |
@@ -47,14 +47,14 @@ const char* ScreenWakeLock::supplementName() |
// static |
ScreenWakeLock* ScreenWakeLock::from(LocalFrame* frame) |
{ |
- return static_cast<ScreenWakeLock*>(HeapSupplement<LocalFrame>::from(frame, supplementName())); |
+ return static_cast<ScreenWakeLock*>(Supplement<LocalFrame>::from(frame, supplementName())); |
} |
// static |
void ScreenWakeLock::provideTo(LocalFrame& frame, WebWakeLockClient* client) |
{ |
ASSERT(RuntimeEnabledFeatures::wakeLockEnabled()); |
- HeapSupplement<LocalFrame>::provideTo( |
+ Supplement<LocalFrame>::provideTo( |
frame, |
ScreenWakeLock::supplementName(), |
new ScreenWakeLock(frame, client)); |
@@ -80,7 +80,7 @@ void ScreenWakeLock::willDetachFrameHost() |
DEFINE_TRACE(ScreenWakeLock) |
{ |
- HeapSupplement<LocalFrame>::trace(visitor); |
+ Supplement<LocalFrame>::trace(visitor); |
PageLifecycleObserver::trace(visitor); |
LocalFrameLifecycleObserver::trace(visitor); |
} |