| Index: content/browser/web_contents/web_contents_impl_unittest.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| index eab029b6cc49f3c56aa9653ccad2bfae9f33cfbe..941aabe559ecfc283b12e01bfa3442d095ee6b95 100644
|
| --- a/content/browser/web_contents/web_contents_impl_unittest.cc
|
| +++ b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include <stdint.h>
|
| +#include <utility>
|
|
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| @@ -851,7 +852,7 @@ TEST_F(WebContentsImplTest, NavigateFromRestoredSitelessUrl) {
|
| native_url, Referrer(), ui::PAGE_TRANSITION_LINK, false,
|
| std::string(), browser_context());
|
| new_entry->SetPageID(0);
|
| - entries.push_back(new_entry.Pass());
|
| + entries.push_back(std::move(new_entry));
|
| controller().Restore(
|
| 0,
|
| NavigationController::RESTORE_LAST_SESSION_EXITED_CLEANLY,
|
| @@ -901,7 +902,7 @@ TEST_F(WebContentsImplTest, NavigateFromRestoredRegularUrl) {
|
| regular_url, Referrer(), ui::PAGE_TRANSITION_LINK, false,
|
| std::string(), browser_context());
|
| new_entry->SetPageID(0);
|
| - entries.push_back(new_entry.Pass());
|
| + entries.push_back(std::move(new_entry));
|
| controller().Restore(
|
| 0,
|
| NavigationController::RESTORE_LAST_SESSION_EXITED_CLEANLY,
|
|
|