Commit 553f2cfc authored by thestig@chromium.org's avatar thestig@chromium.org

Fix incorrect usage of base::EmptyString16().

Review URL: https://codereview.chromium.org/295223002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272654 0039d316-1c4b-4281-b951-d872f2087c98
parent eb5b81b5
...@@ -26,7 +26,7 @@ scoped_ptr<ExtensionError> CreateNewRuntimeError( ...@@ -26,7 +26,7 @@ scoped_ptr<ExtensionError> CreateNewRuntimeError(
bool from_incognito) { bool from_incognito) {
StackTrace stack_trace; StackTrace stack_trace;
scoped_ptr<StackFrame> frame = scoped_ptr<StackFrame> frame =
StackFrame::CreateFromText(base::UTF8ToUTF16(kDefaultStackTrace)); StackFrame::CreateFromText(base::ASCIIToUTF16(kDefaultStackTrace));
CHECK(frame.get()); CHECK(frame.get());
stack_trace.push_back(*frame); stack_trace.push_back(*frame);
...@@ -57,8 +57,8 @@ scoped_ptr<ExtensionError> CreateNewManifestError( ...@@ -57,8 +57,8 @@ scoped_ptr<ExtensionError> CreateNewManifestError(
return scoped_ptr<ExtensionError>( return scoped_ptr<ExtensionError>(
new ManifestError(extension_id, new ManifestError(extension_id,
base::UTF8ToUTF16(message), base::UTF8ToUTF16(message),
base::EmptyString16(), base::string16(),
base::EmptyString16())); base::string16()));
} }
} // namespace error_test_util } // namespace error_test_util
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment