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

Unified Diff: ppapi/shared_impl/ppapi_preferences.cc

Issue 10501006: Connect up flash blacklist entries to GetSettingInt (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clarify comments Created 8 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
« no previous file with comments | « ppapi/shared_impl/ppapi_preferences.h ('k') | webkit/glue/webpreferences.h » ('j') | 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 14c89f0a37091d629f420c41a0e4328fb9546745..c527a275a794461ec1bb9b8ce4ad0c3bbee56e84 100644
--- a/ppapi/shared_impl/ppapi_preferences.cc
+++ b/ppapi/shared_impl/ppapi_preferences.cc
@@ -19,9 +19,8 @@ Preferences::Preferences(const webkit_glue::WebPreferences& prefs)
sans_serif_font_family_map(prefs.sans_serif_font_family_map),
default_font_size(prefs.default_font_size),
default_fixed_font_size(prefs.default_fixed_font_size),
- // Pepper 3D support keys off of WebGL which is what the GPU blacklist
- // is applied to.
- is_3d_supported(prefs.experimental_webgl_enabled) {
+ is_3d_supported(prefs.flash_3d_enabled),
+ is_stage3d_supported(prefs.flash_stage3d_enabled) {
}
Preferences::~Preferences() {
« no previous file with comments | « ppapi/shared_impl/ppapi_preferences.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698