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

Unified Diff: webkit/glue/webpreferences.h

Issue 3017007: Introduce "--enable-memory-info" command-line flag to enable reporting (Closed)
Patch Set: Created 10 years, 5 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
Index: webkit/glue/webpreferences.h
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index b86a051006f8c89102bd5b69a6a27c7a5f57b0c1..3e4f92687bcf5dd4efd9e56da0045e7af4757580 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -65,6 +65,7 @@ struct WebPreferences {
bool show_composited_layer_borders;
bool accelerated_compositing_enabled;
bool enable_html5_parser;
+ bool memory_info_enabled;
// We try to keep the default values the same as the default values in
// chrome, except for the cases where it would require lots of extra work for
@@ -109,7 +110,8 @@ struct WebPreferences {
experimental_webgl_enabled(false),
show_composited_layer_borders(false),
accelerated_compositing_enabled(false),
- enable_html5_parser(true) {
+ enable_html5_parser(true),
+ memory_info_enabled(false) {
}
void Apply(WebKit::WebView* web_view) const;

Powered by Google App Engine
This is Rietveld 408576698