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

Unified Diff: mojo/shell/package_manager/capability_filter_content_handler_unittest.cc

Issue 1568073002: Reduce string copies in GURL creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « mojo/shell/fetcher/network_fetcher.cc ('k') | mojo/shell/package_manager/content_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
diff --git a/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc b/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
index 3ab4b9de520a90cd3c76b7e4af280504a4a9285f..82e626248274bb73edc41d526ebf27046bc8414d 100644
--- a/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
+++ b/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
@@ -71,7 +71,7 @@ class TestPackageManager : public PackageManagerImpl {
void FetchRequest(
URLRequestPtr request,
const Fetcher::FetchCallback& loader_callback) override {
- new TestFetcher(GURL(request->url), loader_callback);
+ new TestFetcher(GURL(request->url.get()), loader_callback);
}
DISALLOW_COPY_AND_ASSIGN(TestPackageManager);
« no previous file with comments | « mojo/shell/fetcher/network_fetcher.cc ('k') | mojo/shell/package_manager/content_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698