summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 20:29:31 +0000
committerscr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 20:29:31 +0000
commit0dd8eba416f15251e7af1d98ca9b42fa4029ff5d (patch)
treed1390efbabd96752911fd8b427f271ec4cb8125e
parentd2772015bbc32cc127afa92f8cccfe0c413560e4 (diff)
downloadchromium_src-0dd8eba416f15251e7af1d98ca9b42fa4029ff5d.zip
chromium_src-0dd8eba416f15251e7af1d98ca9b42fa4029ff5d.tar.gz
chromium_src-0dd8eba416f15251e7af1d98ca9b42fa4029ff5d.tar.bz2
Coverity Fix: PASS_BY_VALUE
CID=102565 R=jam@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/9016001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115595 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/browser/browser_child_process_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
index 7f737bc..6286819 100644
--- a/content/browser/browser_child_process_host.cc
+++ b/content/browser/browser_child_process_host.cc
@@ -46,10 +46,10 @@ static base::LazyInstance<ChildProcessList> g_child_process_list =
// Helper functions since the child process related notifications happen on the
// UI thread.
void ChildNotificationHelper(int notification_type,
- content::ChildProcessData data) {
+ const content::ChildProcessData& data) {
content::NotificationService::current()->
Notify(notification_type, content::NotificationService::AllSources(),
- content::Details<content::ChildProcessData>(&data));
+ content::Details<const content::ChildProcessData>(&data));
}
} // namespace