Index: remoting/client/plugin/chromoting_instance.cc |
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
index aff8c10dadf500503dafde5468a319409120b78c..057c4a1efe39e4ea232e748bd7a71f710fb6268e 100644 |
--- a/remoting/client/plugin/chromoting_instance.cc |
+++ b/remoting/client/plugin/chromoting_instance.cc |
@@ -81,7 +81,7 @@ std::string ConnectionStateToString(protocol::ConnectionToHost::State state) { |
return "FAILED"; |
} |
NOTREACHED(); |
- return ""; |
+ return std::string(); |
} |
// TODO(sergeyu): Ideally we should just pass ErrorCode to the webapp |
@@ -115,7 +115,7 @@ std::string ConnectionErrorToString(protocol::ErrorCode error) { |
return "NETWORK_FAILURE"; |
} |
DLOG(FATAL) << "Unknown error code" << error; |
- return ""; |
+ return std::string(); |
} |
// This flag blocks LOGs to the UI if we're already in the middle of logging |