Polish code for r189579.
[WebKit-https.git] / Source / WebCore / ChangeLog
index 4f8d4bc..1ed1d25 100644 (file)
@@ -1,3 +1,26 @@
+2015-09-14  Dewei Zhu  <dewei_zhu@apple.com>
+
+        Polish code for r189579.
+        https://bugs.webkit.org/show_bug.cgi?id=149131
+
+        Reviewed by Chris Dumez.
+
+        Use more self-explaining function name "characterSetWithUTF8Fallback" instead of
+        "characterSetForBindings". Optimize the way to get text encoding.
+
+        * dom/Document.cpp:
+        (WebCore::Document::characterSetWithUTF8Fallback):
+        (WebCore::Document::encoding): Deleted.
+        (WebCore::Document::characterSetForBindings): Deleted.
+        * dom/Document.h:
+        (WebCore::Document::encoding):
+        (WebCore::Document::textEncoding):
+        * dom/Document.idl:
+        * loader/DocumentWriter.cpp:
+        (WebCore::DocumentWriter::createDecoderIfNeeded):
+        * loader/FormSubmission.cpp:
+        (WebCore::encodingFromAcceptCharset):
+
 2015-09-14  Chris Dumez  <cdumez@apple.com>
 
         Drop non-standard [IsIndex] WebKit IDL extended attribute