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

Unified Diff: third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp

Issue 2596443005: Replace DOMWindowProperty in Navigator supplements with ContextClient (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b592f40e1128e364ac2aa609539650c769204019..90a04e6c29b2033c88b1c55d1f48758c014ab764 100644
--- a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp
@@ -42,12 +42,11 @@
namespace blink {
-NavigatorWebMIDI::NavigatorWebMIDI(LocalFrame* frame)
- : DOMWindowProperty(frame) {}
+NavigatorWebMIDI::NavigatorWebMIDI(LocalFrame* frame) : ContextClient(frame) {}
DEFINE_TRACE(NavigatorWebMIDI) {
Supplement<Navigator>::trace(visitor);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
const char* NavigatorWebMIDI::supplementName() {
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698