diff options
Diffstat (limited to 'extensions/browser/guest_view')
-rw-r--r-- | extensions/browser/guest_view/web_view/web_view_apitest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/browser/guest_view/web_view/web_view_apitest.cc b/extensions/browser/guest_view/web_view/web_view_apitest.cc index 312545a..ecdb15a 100644 --- a/extensions/browser/guest_view/web_view/web_view_apitest.cc +++ b/extensions/browser/guest_view/web_view/web_view_apitest.cc @@ -61,8 +61,7 @@ static scoped_ptr<net::test_server::HttpResponse> UserAgentResponseHandler( base::CompareCase::SENSITIVE)) return scoped_ptr<net::test_server::HttpResponse>(); - std::map<std::string, std::string>::const_iterator it = - request.headers.find("User-Agent"); + auto it = request.headers.find("User-Agent"); EXPECT_TRUE(it != request.headers.end()); if (!base::StartsWith("foobar", it->second, base::CompareCase::SENSITIVE)) return scoped_ptr<net::test_server::HttpResponse>(); |