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

Unified Diff: ppapi/shared_impl/ppapi_preferences.cc

Issue 239973005: Remove GPU_FEATURE_TYPE_3D_CSS and --disable-accelerated-layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | « gpu/config/gpu_feature_type.h ('k') | webkit/common/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 79d8d27f4fdeffe0360cf45f7de954a1f505db7c..662c8ebd34ae98044193a34dd88163364d9b8b2b 100644
--- a/ppapi/shared_impl/ppapi_preferences.cc
+++ b/ppapi/shared_impl/ppapi_preferences.cc
@@ -26,11 +26,7 @@ Preferences::Preferences(const WebPreferences& prefs)
is_3d_supported(prefs.flash_3d_enabled),
is_stage3d_supported(prefs.flash_stage3d_enabled),
is_stage3d_baseline_supported(prefs.flash_stage3d_baseline_enabled),
- // This determines both if webgl is supported (experimental_webgl_enabled)
- // and if it runs in hardware
- // (accelerated_compositing_for_plugins_enabled)
- is_webgl_supported(prefs.experimental_webgl_enabled &&
- prefs.accelerated_compositing_for_plugins_enabled),
+ is_webgl_supported(prefs.experimental_webgl_enabled),
is_accelerated_video_decode_enabled(
prefs.pepper_accelerated_video_decode_enabled) {}
« no previous file with comments | « gpu/config/gpu_feature_type.h ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698