Index: ppapi/shared_impl/ppapi_preferences.cc |
=================================================================== |
--- ppapi/shared_impl/ppapi_preferences.cc (revision 254895) |
+++ ppapi/shared_impl/ppapi_preferences.cc (working copy) |
@@ -12,7 +12,8 @@ |
number_of_cpu_cores(0), |
is_3d_supported(true), |
is_stage3d_supported(false), |
- is_stage3d_baseline_supported(false) {} |
+ is_stage3d_baseline_supported(false), |
+ is_accelerated_video_decode_enabled(false) {} |
Preferences::Preferences(const WebPreferences& prefs) |
: standard_font_family_map(prefs.standard_font_family_map), |
@@ -29,7 +30,9 @@ |
// and if it runs in hardware |
// (accelerated_compositing_for_plugins_enabled) |
is_webgl_supported(prefs.experimental_webgl_enabled && |
- prefs.accelerated_compositing_for_plugins_enabled) {} |
+ prefs.accelerated_compositing_for_plugins_enabled), |
+ is_accelerated_video_decode_enabled( |
+ prefs.pepper_accelerated_video_decode_enabled) {} |
Preferences::~Preferences() {} |