Index: shell/shell_apptest.cc |
diff --git a/shell/shell_apptest.cc b/shell/shell_apptest.cc |
index 7b610a737276233e9867072ea9564a40fc7fdeed..0db1437fba9a92b6645cea770f3959e201c46b15 100644 |
--- a/shell/shell_apptest.cc |
+++ b/shell/shell_apptest.cc |
@@ -20,16 +20,15 @@ |
#include "services/http_server/public/http_server_util.h" |
#include "shell/kPingable.h" |
#include "shell/test/pingable.mojom.h" |
-namespace mojo { |
+namespace mojo { |
namespace { |
std::string GetURL(uint16_t port, const std::string& path) { |
- return base::StringPrintf("http://127.0.0.1:%u/%s", port, path.c_str()); |
+ return base::StringPrintf("http://127.0.0.1:%u/%s", |
+ static_cast<unsigned>(port), path.c_str()); |
} |
-} // namespace |
- |
class GetHandler : public http_server::HttpHandler { |
public: |
GetHandler(InterfaceRequest<http_server::HttpHandler> request, uint16_t port) |
@@ -194,4 +193,5 @@ TEST_F(ShellAppTest, MojoURLQueryHandling) { |
base::RunLoop().Run(); |
} |
+} // namespace |
} // namespace mojo |