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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 338713002: Remove duplicated provideMediaKeysTo() in MediaKeysClient.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« Source/web/WebViewImpl.h ('K') | « Source/web/WebViewImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 7ede51d3ea1574a8c7e2c03965f8f209169387cc..fee954437a6a88572b5f6528f265d4d3027473db 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -132,6 +132,7 @@
#include "web/FullscreenController.h"
#include "web/GraphicsLayerFactoryChromium.h"
#include "web/LinkHighlight.h"
+#include "web/MediaKeysClientImpl.h"
#include "web/PopupContainer.h"
#include "web/PrerendererClientImpl.h"
#include "web/SpeechRecognitionClientProxy.h"
@@ -406,7 +407,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
pageClients.storageClient = &m_storageClientImpl;
m_page = adoptPtrWillBeNoop(new Page(pageClients));
- MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl);
+ MediaKeysController::provideMediaKeysTo(*m_page, MediaKeysClientImpl::create());
provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0));
provideNavigatorContentUtilsTo(*m_page, NavigatorContentUtilsClientImpl::create(this));
« Source/web/WebViewImpl.h ('K') | « Source/web/WebViewImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698