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

Unified Diff: extensions/browser/content_verifier.cc

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows Created 5 years, 5 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: extensions/browser/content_verifier.cc
diff --git a/extensions/browser/content_verifier.cc b/extensions/browser/content_verifier.cc
index 3bbe4a9a6bdc2d67c697e17625b7fb29d87fe500..b85e8eeebcac6f77b6bac1d0b7f300b2568cfd45 100644
--- a/extensions/browser/content_verifier.cc
+++ b/extensions/browser/content_verifier.cc
@@ -124,7 +124,8 @@ static base::FilePath MakeImagePathRelative(const base::FilePath& path) {
// Note that elsewhere we always normalize path separators to '/' so this
// should work for all platforms.
- return base::FilePath(JoinString(parts, '/'));
+ return base::FilePath(
+ base::JoinString(parts, base::FilePath::StringType(1, '/')));
}
void ContentVerifier::OnExtensionLoaded(
« no previous file with comments | « extensions/browser/api/vpn_provider/vpn_provider_api.cc ('k') | extensions/browser/updater/extension_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698