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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 15713012: Initialize CPU-specific features in media when starting the host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index d1deab98c77bcacbba6154ad171184db9198aaa3..da4787f524aac87309450d5fcebb41a69eb0c5f7 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -28,6 +28,7 @@
#include "ipc/ipc_channel.h"
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_listener.h"
+#include "media/base/media.h"
#include "net/base/network_change_notifier.h"
#include "net/socket/ssl_server_socket.h"
#include "net/url_request/url_fetcher.h"
@@ -1045,6 +1046,9 @@ int HostProcessMain() {
// single-threaded.
net::EnableSSLServerSockets();
+ // Ensures runtime specific CPU features are initialized.
+ media::InitializeCPUSpecificMediaFeatures();
Wez 2013/05/30 17:17:29 This looks reasonable given the bug description, b
alexeypa (please no reviews) 2013/05/30 17:35:01 I just mirrored the corresponding change in remoti
+
// Create the main message loop and start helper threads.
base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
scoped_ptr<ChromotingHostContext> context =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698