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

Unified Diff: chrome/browser/guestview/webview/webview_guest.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/guestview/webview/webview_guest.cc
diff --git a/chrome/browser/guestview/webview/webview_guest.cc b/chrome/browser/guestview/webview/webview_guest.cc
index 6c51c7debcd145d4d5d246b31a88873b44ac8661..1bb061eed922a02b05918411b874948e99250300 100644
--- a/chrome/browser/guestview/webview/webview_guest.cc
+++ b/chrome/browser/guestview/webview/webview_guest.cc
@@ -583,7 +583,7 @@ void WebViewGuest::DidFailProvisionalLoad(
content::RenderViewHost* render_view_host) {
// Translate the |error_code| into an error string.
std::string error_type;
- RemoveChars(net::ErrorToString(error_code), "net::", &error_type);
+ base::RemoveChars(net::ErrorToString(error_code), "net::", &error_type);
LoadAbort(is_main_frame, validated_url, error_type);
}

Powered by Google App Engine
This is Rietveld 408576698