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

Unified Diff: content/renderer/render_view.cc

Issue 7598020: content: use string16 in ViewHostMsg_AddMessageToConsole (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « content/common/view_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.cc
diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc
index c9cb26c8cd530a8fd17708134ae042827e9bfff2..43e9743965e4083f2bece5f003f0ffd8d7692c62 100644
--- a/content/renderer/render_view.cc
+++ b/content/renderer/render_view.cc
@@ -1432,9 +1432,9 @@ void RenderView::didAddMessageToConsole(
Send(new ViewHostMsg_AddMessageToConsole(routing_id_,
static_cast<int32>(log_severity),
- UTF16ToWideHack(message.text),
+ message.text,
static_cast<int32>(source_line),
- UTF16ToWideHack(source_name)));
+ source_name));
}
void RenderView::printPage(WebFrame* frame) {
« no previous file with comments | « content/common/view_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698