summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 22:21:33 +0000
committermmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 22:21:33 +0000
commit4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2 (patch)
tree9d420350432dc21c5e42fa154045773b859946b9
parenta1db384f26f8c660e835c05e7e9d3153f4ad4f6f (diff)
downloadchromium_src-4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2.zip
chromium_src-4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2.tar.gz
chromium_src-4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2.tar.bz2
Order of initialization should match declaration. Fixes gcc build break:
webkit/glue/webpreferences.h:44: warning: 'WebPreferences::user_style_sheet_enabled' will be initialized after webkit/glue/webpreferences.h:40: warning: 'bool WebPreferences::allow_scripts_to_close_windows' webkit/glue/webpreferences.h:52: warning: when initialized here Review URL: http://codereview.chromium.org/2947 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2336 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/glue/webpreferences.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index 7a72e79..524e38e 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -72,10 +72,9 @@ struct WebPreferences {
text_areas_are_resizable(true),
dashboard_compatibility_mode(false),
java_enabled(true),
- user_style_sheet_enabled(false),
- allow_scripts_to_close_windows(false) {
+ allow_scripts_to_close_windows(false),
+ user_style_sheet_enabled(false) {
}
};
#endif // WEBKIT_GLUE_WEBPREFERENCES_H__
-