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

Unified Diff: third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.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/webmidi/NavigatorWebMIDI.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp
index 0b1935edeab4acbcd705143644b88fb57ac484cc..901973ba447757c8fb25d0b4d20f2e0cbb3d38c3 100644
--- a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp
@@ -53,7 +53,7 @@ NavigatorWebMIDI::~NavigatorWebMIDI()
DEFINE_TRACE(NavigatorWebMIDI)
{
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
DOMWindowProperty::trace(visitor);
}
@@ -64,7 +64,7 @@ const char* NavigatorWebMIDI::supplementName()
NavigatorWebMIDI& NavigatorWebMIDI::from(Navigator& navigator)
{
- NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(Supplement<Navigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new NavigatorWebMIDI(navigator.frame());
provideTo(navigator, supplementName(), supplement);
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h ('k') | third_party/WebKit/Source/modules/webusb/NavigatorUSB.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698