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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.h

Issue 9159053: Coverity: pass ContentSettingsPattern by const ref (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix MockObserver Created 8 years, 11 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: chrome/browser/content_settings/host_content_settings_map.h
diff --git a/chrome/browser/content_settings/host_content_settings_map.h b/chrome/browser/content_settings/host_content_settings_map.h
index e02c751a4ede2f515bc82e1f2c6baee2fd32f186..9971edb0b82b4310fb5d702478d000d2ba647b00 100644
--- a/chrome/browser/content_settings/host_content_settings_map.h
+++ b/chrome/browser/content_settings/host_content_settings_map.h
@@ -166,8 +166,8 @@ class HostContentSettingsMap
// content_settings::Observer implementation.
virtual void OnContentSettingChanged(
- ContentSettingsPattern primary_pattern,
- ContentSettingsPattern secondary_pattern,
+ const ContentSettingsPattern& primary_pattern,
+ const ContentSettingsPattern& secondary_pattern,
ContentSettingsType content_type,
std::string resource_identifier) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698