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

Unified Diff: third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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/vibration/NavigatorVibration.cpp
diff --git a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
index 357b4ed1c271e6761bff94ab0cde1f49ab4671db..8d402caf9f895448b03e49ff0492d8eb3ae4c65e 100644
--- a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
+++ b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
@@ -184,10 +184,10 @@ bool NavigatorVibration::vibrate(Navigator& navigator, const VibrationPattern& p
NavigatorVibration& NavigatorVibration::from(Page& page)
{
- NavigatorVibration* navigatorVibration = static_cast<NavigatorVibration*>(WillBeHeapSupplement<Page>::from(page, supplementName()));
+ NavigatorVibration* navigatorVibration = static_cast<NavigatorVibration*>(HeapSupplement<Page>::from(page, supplementName()));
if (!navigatorVibration) {
navigatorVibration = new NavigatorVibration(page);
- WillBeHeapSupplement<Page>::provideTo(page, supplementName(), adoptPtrWillBeNoop(navigatorVibration));
+ HeapSupplement<Page>::provideTo(page, supplementName(), adoptPtrWillBeNoop(navigatorVibration));
}
return *navigatorVibration;
}
@@ -199,7 +199,7 @@ const char* NavigatorVibration::supplementName()
DEFINE_TRACE(NavigatorVibration)
{
- WillBeHeapSupplement<Page>::trace(visitor);
+ HeapSupplement<Page>::trace(visitor);
PageLifecycleObserver::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/modules/vibration/NavigatorVibration.h ('k') | third_party/WebKit/Source/modules/vr/VRController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698