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

Unified Diff: content/public/test/content_browser_test_utils.h

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 years, 3 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: content/public/test/content_browser_test_utils.h
diff --git a/content/public/test/content_browser_test_utils.h b/content/public/test/content_browser_test_utils.h
index 77d537c473af7d7e64abceba35a6e9799fd634e3..68ece15345a0639809ad76aa35db3d4d7c7ebfb9 100644
--- a/content/public/test/content_browser_test_utils.h
+++ b/content/public/test/content_browser_test_utils.h
@@ -50,7 +50,7 @@ bool NavigateToURL(Shell* window, const GURL& url);
void LoadDataWithBaseURL(Shell* window,
const GURL& url,
- const std::string data,
+ const std::string& data,
const GURL& base_url);
// Navigates |window| to |url|, blocking until the given number of navigations

Powered by Google App Engine
This is Rietveld 408576698