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

Unified Diff: chrome/browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc
diff --git a/chrome/browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc b/chrome/browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc
index 08e35d449bf7b5d51a43d392cb0033a805b061dd..9b65f777d190aa8c8129ca0b12c6138897e50435 100644
--- a/chrome/browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc
+++ b/chrome/browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc
@@ -155,8 +155,8 @@ class TabContentsTagTest : public InProcessBrowserTest {
// Returns the expected title for |url| if |url| does not specify a custom
// title (e.g. via the <title> tag).
base::string16 GetDefaultTitleForUrl(const GURL& url) const {
- base::string16 title =
- base::UTF8ToUTF16(url.host() + ":" + url.port() + url.path());
+ base::string16 title = base::UTF8ToUTF16(url.host() + ":" + url.port() +
+ url.path().as_string());
return l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_TAB_PREFIX, title);
}
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_url_filter.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698