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

Unified Diff: chrome/common/content_settings.cc

Issue 8965054: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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 | « chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/content_settings.cc
diff --git a/chrome/common/content_settings.cc b/chrome/common/content_settings.cc
index 8b28f4b6c9a81d62fcf79d03b11ca861590a27ff..5d48bc9065c5f711f15795d220dc998c3c4dc7f6 100644
--- a/chrome/common/content_settings.cc
+++ b/chrome/common/content_settings.cc
@@ -22,7 +22,9 @@ ContentSettingPatternSource::ContentSettingPatternSource(
source(source),
incognito(incognito) {}
-ContentSettingPatternSource::ContentSettingPatternSource() {}
+ContentSettingPatternSource::ContentSettingPatternSource()
+ : setting(CONTENT_SETTING_DEFAULT), incognito(false) {
+}
RendererContentSettingRules::RendererContentSettingRules() {}
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698