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

Unified Diff: components/web_view/pending_web_view_load.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 | « components/web_view/frame.cc ('k') | content/browser/frame_host/frame_mojo_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/pending_web_view_load.cc
diff --git a/components/web_view/pending_web_view_load.cc b/components/web_view/pending_web_view_load.cc
index a86aa0c5d429103d590fa5fd4d3cbebecc2040e6..d5db3543b7bbf3a9e79ed88afe9f1c2c1dda1d04 100644
--- a/components/web_view/pending_web_view_load.cc
+++ b/components/web_view/pending_web_view_load.cc
@@ -20,7 +20,7 @@ PendingWebViewLoad::~PendingWebViewLoad() {}
void PendingWebViewLoad::Init(mojo::URLRequestPtr request) {
DCHECK(!frame_connection_);
- pending_url_ = GURL(request->url);
+ pending_url_ = GURL(request->url.get());
navigation_start_time_ =
base::TimeTicks::FromInternalValue(request->originating_time_ticks);
frame_connection_.reset(new FrameConnection);
« no previous file with comments | « components/web_view/frame.cc ('k') | content/browser/frame_host/frame_mojo_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698