summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/plugin_process_host.cc1
-rw-r--r--content/browser/plugin_service.cc3
2 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc
index 83cf193..4d1301a 100644
--- a/content/browser/plugin_process_host.cc
+++ b/content/browser/plugin_process_host.cc
@@ -221,6 +221,7 @@ bool PluginProcessHost::Init(const webkit::npapi::WebPluginInfo& info,
switches::kSilentDumpOnDCHECK,
switches::kMemoryProfiling,
switches::kEnableStatsTable,
+ switches::kEnableGPUPlugin,
switches::kUseGL,
#if defined(OS_CHROMEOS)
switches::kLoginProfile,
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc
index 2c775ed..78f994e 100644
--- a/content/browser/plugin_service.cc
+++ b/content/browser/plugin_service.cc
@@ -23,6 +23,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/default_plugin.h"
#include "chrome/common/extensions/extension.h"
+#include "chrome/common/gpu_plugin.h"
#include "chrome/common/logging_chrome.h"
#include "chrome/common/notification_type.h"
#include "chrome/common/notification_service.h"
@@ -133,6 +134,8 @@ PluginService::PluginService()
plugin_selection_policy_->StartInit();
#endif
+ chrome::RegisterInternalGPUPlugin();
+
// Start watching for changes in the plugin list. This means watching
// for changes in the Windows registry keys and on both Windows and POSIX
// watch for changes in the paths that are expected to contain plugins.