diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-10 04:16:49 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-10 04:16:49 +0000 |
commit | ac16d8cb8ae3f00ee51fbad93fc0b685ec3bcc7f (patch) | |
tree | 4215d3fad3127a849db02827a5fdda4e1ca9bade /ppapi | |
parent | 13f37efbdebc1d7c35701d52cd3132282b2ab2fd (diff) | |
download | chromium_src-ac16d8cb8ae3f00ee51fbad93fc0b685ec3bcc7f.zip chromium_src-ac16d8cb8ae3f00ee51fbad93fc0b685ec3bcc7f.tar.gz chromium_src-ac16d8cb8ae3f00ee51fbad93fc0b685ec3bcc7f.tar.bz2 |
Coverity: Fix two pass-by-values.
CID_COUNT=2
CID=103425,103426
BUG=none
TEST=none
R=groby
Review URL: https://chromiumcodereview.appspot.com/9547014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/native_client/src/trusted/plugin/service_runtime.cc | 2 | ||||
-rw-r--r-- | ppapi/native_client/src/trusted/plugin/service_runtime.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc index 74d8265..af78722b 100644 --- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc +++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc @@ -657,7 +657,7 @@ bool ServiceRuntime::InitCommunication(nacl::DescWrapper* nacl_desc, } bool ServiceRuntime::Start(nacl::DescWrapper* nacl_desc, - ErrorInfo* error_info, nacl::string url) { + ErrorInfo* error_info, const nacl::string& url) { PLUGIN_PRINTF(("ServiceRuntime::Start (nacl_desc=%p)\n", reinterpret_cast<void*>(nacl_desc))); diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.h b/ppapi/native_client/src/trusted/plugin/service_runtime.h index 1729cc5..d70eee4 100644 --- a/ppapi/native_client/src/trusted/plugin/service_runtime.h +++ b/ppapi/native_client/src/trusted/plugin/service_runtime.h @@ -219,7 +219,7 @@ class ServiceRuntime { // describing the error. bool Start(nacl::DescWrapper* nacl_file_desc, ErrorInfo* error_info, - nacl::string url); + const nacl::string& url); // Starts the application channel to the nexe. SrpcClient* SetupAppChannel(); |