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 83ccd58857152abbef42c0e1e316a25ee190f914..afc7fab1e66afe402e0d397742fcbaacbb018f5d 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp |
@@ -32,9 +32,10 @@ |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
-#include "core/dom/DOMException.h" |
#include "core/dom/Document.h" |
iclelland
2017/06/22 15:12:48
Whoa -- when did the strict ASCII ordering change?
raymes
2017/07/05 01:04:26
Fixed :) not sure what happened
|
+#include "core/dom/DOMException.h" |
#include "core/dom/ExecutionContext.h" |
+#include "core/frame/Deprecation.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/Navigator.h" |
#include "core/frame/UseCounter.h" |
@@ -87,6 +88,9 @@ ScriptPromise NavigatorWebMIDI::requestMIDIAccess(ScriptState* script_state, |
} |
UseCounter::CountCrossOriginIframe(document, |
WebFeature::kRequestMIDIAccessIframe); |
+ Deprecation::CountDeprecationCrossOriginIframe( |
+ document, WebFeature::kRequestMIDIAccessDisabledIframe); |
+ |
return MIDIAccessInitializer::Start(script_state, options); |
} |