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

Unified Diff: ppapi/shared_impl/ppapi_preferences.cc

Issue 10875077: Add UMA histogram to determine how often Stage3D could be used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: run on non-xp Created 8 years, 4 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/plugins/ppapi/ppapi_plugin_instance.cc » ('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 3fd7731afaafcdee024c94a77727afcf8c46df3e..1db53c0aef4e6120bfc0dd3cd53a04df99f3b736 100644
--- a/ppapi/shared_impl/ppapi_preferences.cc
+++ b/ppapi/shared_impl/ppapi_preferences.cc
@@ -23,7 +23,8 @@ Preferences::Preferences(const webkit_glue::WebPreferences& prefs)
default_fixed_font_size(prefs.default_fixed_font_size),
number_of_cpu_cores(prefs.number_of_cpu_cores),
is_3d_supported(prefs.flash_3d_enabled),
- is_stage3d_supported(prefs.flash_stage3d_enabled) {
+ is_stage3d_supported(prefs.flash_stage3d_enabled),
+ is_webgl_supported(prefs.experimental_webgl_enabled) {
}
Preferences::~Preferences() {
« no previous file with comments | « ppapi/shared_impl/ppapi_preferences.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698