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

Unified Diff: ppapi/shared_impl/ppapi_preferences.cc

Issue 10909102: Also check for accelerated plugins when determining when 3d is really enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: ppapi/shared_impl/ppapi_preferences.cc
diff --git a/ppapi/shared_impl/ppapi_preferences.cc b/ppapi/shared_impl/ppapi_preferences.cc
index 1db53c0aef4e6120bfc0dd3cd53a04df99f3b736..13a25476d4a18bd72904213288b75fc5ebd0e23c 100644
--- a/ppapi/shared_impl/ppapi_preferences.cc
+++ b/ppapi/shared_impl/ppapi_preferences.cc
@@ -24,7 +24,8 @@ Preferences::Preferences(const webkit_glue::WebPreferences& prefs)
number_of_cpu_cores(prefs.number_of_cpu_cores),
is_3d_supported(prefs.flash_3d_enabled),
is_stage3d_supported(prefs.flash_stage3d_enabled),
- is_webgl_supported(prefs.experimental_webgl_enabled) {
+ is_webgl_supported(prefs.experimental_webgl_enabled &&
brettw 2012/09/06 20:23:44 Actually, can you comment about why we check these
+ prefs.accelerated_plugins_enabled) {
}
Preferences::~Preferences() {
« 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