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

Unified Diff: trunk/Source/core/dom/Document.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
Index: trunk/Source/core/dom/Document.cpp
===================================================================
--- trunk/Source/core/dom/Document.cpp (revision 159022)
+++ trunk/Source/core/dom/Document.cpp (working copy)
@@ -1102,10 +1102,10 @@
String Document::encodingName() const
{
- // TextEncoding::name() returns a char*, no need to allocate a new
+ // TextEncoding::domName() returns a char*, no need to allocate a new
// String for it each time.
// FIXME: We should fix TextEncoding to speak AtomicString anyway.
- return AtomicString(m_encoding.name());
+ return AtomicString(m_encoding.domName());
}
String Document::defaultCharset() const

Powered by Google App Engine
This is Rietveld 408576698