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

Unified Diff: trunk/Source/core/inspector/InspectorFileSystemAgent.cpp

Issue 26184004: Revert 158972 "Canonical name change: windows-949 => EUC-KR" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 2 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 | « trunk/Source/core/dom/Document.cpp ('k') | trunk/Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/inspector/InspectorFileSystemAgent.cpp
===================================================================
--- trunk/Source/core/inspector/InspectorFileSystemAgent.cpp (revision 159022)
+++ trunk/Source/core/inspector/InspectorFileSystemAgent.cpp (working copy)
@@ -492,7 +492,7 @@
RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create(m_mimeType, m_charset, true);
String result = decoder->decode(static_cast<char*>(buffer->data()), buffer->byteLength());
result.append(decoder->flush());
- m_charset = decoder->encoding().name();
+ m_charset = decoder->encoding().domName();
reportResult(static_cast<FileError::ErrorCode>(0), &result, &m_charset);
}
« no previous file with comments | « trunk/Source/core/dom/Document.cpp ('k') | trunk/Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698