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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp

Issue 2547563002: Unflag the MediaDevices devicechange event in Blink. (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
Index: third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
index 1c0eaec0278f7946c650308d688bcbb89208e105..caeecd6edd4fac9f2343243633dc2b2fc5b4a87c 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
@@ -144,8 +144,7 @@ void MediaDevices::didChangeMediaDevices() {
Document* document = toDocument(getExecutionContext());
DCHECK(document);
- if (RuntimeEnabledFeatures::onDeviceChangeEnabled())
foolip 2016/12/02 08:48:26 Can you DCHECK(RuntimeEnabledFeatures::onDeviceCha
Guido Urdaneta 2016/12/02 09:31:00 Restored the original since the flag hasn't actual
- scheduleDispatchEvent(Event::create(EventTypeNames::devicechange));
+ scheduleDispatchEvent(Event::create(EventTypeNames::devicechange));
}
const AtomicString& MediaDevices::interfaceName() const {

Powered by Google App Engine
This is Rietveld 408576698