diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/child_thread.cc | 2 | ||||
-rw-r--r-- | chrome/common/child_thread.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc index 9168570..8e9e90c 100644 --- a/chrome/common/child_thread.cc +++ b/chrome/common/child_thread.cc @@ -22,7 +22,7 @@ ChildThread::ChildThread() { Init(); } -ChildThread::ChildThread(const std::string channel_name) +ChildThread::ChildThread(const std::string& channel_name) : channel_name_(channel_name) { Init(); } diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index 91ea9b7..afcd803 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -20,7 +20,7 @@ class ChildThread : public IPC::Channel::Listener, // Creates the thread. ChildThread(); // Used for single-process mode. - ChildThread(const std::string channel_name); + ChildThread(const std::string& channel_name); virtual ~ChildThread(); // IPC::Message::Sender implementation: |