Index: content/browser/appcache/appcache_update_job_unittest.cc |
diff --git a/content/browser/appcache/appcache_update_job_unittest.cc b/content/browser/appcache/appcache_update_job_unittest.cc |
index 39c2290af271e0c579c212bb8b8e21e083b01c32..9820bc273bf99ecd94568ee0d220289c332a6058 100644 |
--- a/content/browser/appcache/appcache_update_job_unittest.cc |
+++ b/content/browser/appcache/appcache_update_job_unittest.cc |
@@ -2,8 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "content/browser/appcache/appcache_update_job.h" |
+ |
#include <stddef.h> |
#include <stdint.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
@@ -17,7 +20,6 @@ |
#include "content/browser/appcache/appcache_group.h" |
#include "content/browser/appcache/appcache_host.h" |
#include "content/browser/appcache/appcache_response.h" |
-#include "content/browser/appcache/appcache_update_job.h" |
#include "content/browser/appcache/mock_appcache_service.h" |
#include "net/base/net_errors.h" |
#include "net/http/http_response_headers.h" |
@@ -582,7 +584,7 @@ class IOThread : public base::Thread { |
make_scoped_ptr(new MockHttpServerJobFactory)); |
factory->SetProtocolHandler("https", |
make_scoped_ptr(new MockHttpServerJobFactory)); |
- job_factory_ = factory.Pass(); |
+ job_factory_ = std::move(factory); |
request_context_.reset(new net::TestURLRequestContext()); |
request_context_->set_job_factory(job_factory_.get()); |
} |