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

Unified Diff: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc

Issue 9667012: Fix --single-process mode issues with GpuChannelHostFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
diff --git a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
index 58e6322de64764800d24dfe5b6fb44bef7f7662e..a3eb30ce5d4c0e89677ba8816d18d68931c3cc3d 100644
--- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
+++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
@@ -6,6 +6,7 @@
#include "base/file_util.h"
#include "base/logging.h"
+#include "content/browser/gpu/browser_gpu_channel_host_factory.h"
#include "content/browser/in_process_webkit/dom_storage_message_filter.h"
#include "content/browser/in_process_webkit/indexed_db_key_utility_client.h"
#include "content/common/indexed_db/indexed_db_key.h"
@@ -176,3 +177,8 @@ BrowserWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue(
return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue(
IndexedDBKey(key), content::SerializedScriptValue(value), keyPath);
}
+
+GpuChannelHostFactory*
+BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() {
+ return content::BrowserGpuChannelHostFactory::instance();
+}

Powered by Google App Engine
This is Rietveld 408576698