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

Unified Diff: components/web_view/frame.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/html_viewer/web_url_loader_impl.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame.cc
diff --git a/components/web_view/frame.cc b/components/web_view/frame.cc
index 62dca5a822e347f21185623a439169334912a924..453382ba53d2fe0f940f137359931accc7b56326 100644
--- a/components/web_view/frame.cc
+++ b/components/web_view/frame.cc
@@ -362,7 +362,7 @@ void Frame::StartNavigate(mojo::URLRequestPtr request) {
DVLOG(2) << "Frame::StartNavigate id=" << id_ << " url=" << request->url;
- const GURL requested_url(request->url);
+ const GURL requested_url(request->url.get());
base::TimeTicks navigation_start_time =
base::TimeTicks::FromInternalValue(request->originating_time_ticks);
tree_->delegate_->CanNavigateFrame(
« no previous file with comments | « components/html_viewer/web_url_loader_impl.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698