Index: ppapi/native_client/src/trusted/plugin/service_runtime.cc |
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc |
index 76fb5789b4794f97717eb5d86b752d9bc9e2fa74..f5311e56a58b67faf1101cc3511fea4c02268ee8 100644 |
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc |
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc |
@@ -681,7 +681,7 @@ SrpcClient* ServiceRuntime::SetupAppChannel() { |
} |
} |
-bool ServiceRuntime::Log(int severity, nacl::string msg) { |
+bool ServiceRuntime::Log(int severity, const nacl::string& msg) { |
NaClSrpcResultCodes rpc_result = |
NaClSrpcInvokeBySignature(&command_channel_, |
"log:is:", |