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

Unified Diff: extensions/browser/extension_error_test_util.cc

Issue 295223002: Fix incorrect usage of base::EmptyString16(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_error_test_util.cc
===================================================================
--- extensions/browser/extension_error_test_util.cc (revision 272445)
+++ extensions/browser/extension_error_test_util.cc (working copy)
@@ -26,7 +26,7 @@
bool from_incognito) {
StackTrace stack_trace;
scoped_ptr<StackFrame> frame =
- StackFrame::CreateFromText(base::UTF8ToUTF16(kDefaultStackTrace));
+ StackFrame::CreateFromText(base::ASCIIToUTF16(kDefaultStackTrace));
CHECK(frame.get());
stack_trace.push_back(*frame);
@@ -57,8 +57,8 @@
return scoped_ptr<ExtensionError>(
new ManifestError(extension_id,
base::UTF8ToUTF16(message),
- base::EmptyString16(),
- base::EmptyString16()));
+ base::string16(),
+ base::string16()));
}
} // namespace error_test_util
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698