Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1056)

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 2714053003: Fix GCC build for target 'all' (Closed)
Patch Set: Remove auto Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
index aaa3df605dcc49e5254961c7a814666121f6c343..a60c59a2a8d2df912ecd00e9bbcbcae6eb4dbf4a 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
@@ -129,7 +129,7 @@ class TestNavigationListener
auto throttle = base::MakeUnique<Throttle>();
throttle->set_url(url);
throttles_.push_back(throttle->AsWeakPtr());
- return throttle;
+ return std::unique_ptr<content::ResourceThrottle>(throttle.release());
Lei Zhang 2017/02/25 00:50:34 I think you can do: return std::move(throttle);
Tom (Use chromium acct) 2017/02/25 01:40:21 Done.
}
private:

Powered by Google App Engine
This is Rietveld 408576698