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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 6733043: Coverity: Pass parameters by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index e4ccc962b70762ed0fd5116fc6758a063a1173d2..fb6fc72409e4338cba757523d67468d2979018e5 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -378,7 +378,7 @@ class DispatcherWrapper
virtual ~DispatcherWrapper() {}
bool Init(base::ProcessHandle plugin_process_handle,
- IPC::ChannelHandle channel_handle,
+ const IPC::ChannelHandle& channel_handle,
PP_Module pp_module,
pp::proxy::Dispatcher::GetInterfaceFunc local_get_interface);
@@ -399,7 +399,7 @@ class DispatcherWrapper
bool DispatcherWrapper::Init(
base::ProcessHandle plugin_process_handle,
- IPC::ChannelHandle channel_handle,
+ const IPC::ChannelHandle& channel_handle,
PP_Module pp_module,
pp::proxy::Dispatcher::GetInterfaceFunc local_get_interface) {
dispatcher_.reset(new pp::proxy::HostDispatcher(
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698