| Index: ios/web/public/test/http_server.mm
|
| diff --git a/ios/web/public/test/http_server.mm b/ios/web/public/test/http_server.mm
|
| index e733a5f8b5c342f90dd3b2b7879daea26273aeb6..c5217160571ec5b3fd3ce695aa0c8500d613e35a 100644
|
| --- a/ios/web/public/test/http_server.mm
|
| +++ b/ios/web/public/test/http_server.mm
|
| @@ -145,6 +145,11 @@ bool HttpServer::IsRunning() const {
|
| return [gcd_web_server_ isRunning];
|
| }
|
|
|
| +NSUInteger HttpServer::GetPort() const {
|
| + base::AutoLock autolock(port_lock_);
|
| + return port_;
|
| +}
|
| +
|
| // static
|
| GURL HttpServer::MakeUrl(const std::string &url) {
|
| return HttpServer::GetSharedInstance().MakeUrlForHttpServer(url);
|
| @@ -229,10 +234,5 @@ void HttpServer::SetPort(NSUInteger port) {
|
| port_ = port;
|
| }
|
|
|
| -NSUInteger HttpServer::GetPort() const {
|
| - base::AutoLock autolock(port_lock_);
|
| - return port_;
|
| -}
|
| -
|
| } // namespace test
|
| } // namespace web
|
|
|