| Index: net/http/http_auth_handler_negotiate_unittest.cc
|
| diff --git a/net/http/http_auth_handler_negotiate_unittest.cc b/net/http/http_auth_handler_negotiate_unittest.cc
|
| index eaee8e5f40a6ace0affe30fd5813ee21eb17f9f0..06407a68b2c3e70bd629031d389ea8e0c1b8fb2a 100644
|
| --- a/net/http/http_auth_handler_negotiate_unittest.cc
|
| +++ b/net/http/http_auth_handler_negotiate_unittest.cc
|
| @@ -18,6 +18,7 @@
|
| #endif
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/platform_test.h"
|
| +#include "url/origin.h"
|
|
|
| namespace net {
|
|
|
| @@ -179,7 +180,7 @@ class HttpAuthHandlerNegotiateTest : public PlatformTest {
|
| factory_->set_disable_cname_lookup(disable_cname_lookup);
|
| factory_->set_use_port(use_port);
|
| resolver_->set_synchronous_mode(synchronous_resolve_mode);
|
| - GURL gurl(url_string);
|
| + url::Origin origin(url_string);
|
|
|
| // Note: This is a little tricky because CreateAuthHandlerFromString
|
| // expects a scoped_ptr<HttpAuthHandler>* rather than a
|
| @@ -187,11 +188,9 @@ class HttpAuthHandlerNegotiateTest : public PlatformTest {
|
| // after creating the handler, and make sure that generic_handler
|
| // no longer holds on to the HttpAuthHandlerNegotiate object.
|
| scoped_ptr<HttpAuthHandler> generic_handler;
|
| - int rv = factory_->CreateAuthHandlerFromString("Negotiate",
|
| - HttpAuth::AUTH_SERVER,
|
| - gurl,
|
| - BoundNetLog(),
|
| - &generic_handler);
|
| + int rv = factory_->CreateAuthHandlerFromString(
|
| + "Negotiate", HttpAuth::AUTH_SERVER, origin, BoundNetLog(),
|
| + &generic_handler);
|
| if (rv != OK)
|
| return rv;
|
| HttpAuthHandlerNegotiate* negotiate_handler =
|
|
|