Chromium Code Reviews| 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() { |