Title: [94825] trunk/Source/WebCore
- Revision
- 94825
- Author
- aba...@webkit.org
- Date
- 2011-09-08 18:25:42 -0700 (Thu, 08 Sep 2011)
Log Message
DocumentWriter::deprecatedFrameEncoding doesn't need to refert to Settings
https://bugs.webkit.org/show_bug.cgi?id=67812
Reviewed by Eric Seidel.
The one caller of this function does this work already.
* loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::deprecatedFrameEncoding):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (94824 => 94825)
--- trunk/Source/WebCore/ChangeLog 2011-09-09 01:14:50 UTC (rev 94824)
+++ trunk/Source/WebCore/ChangeLog 2011-09-09 01:25:42 UTC (rev 94825)
@@ -1,3 +1,15 @@
+2011-09-08 Adam Barth <aba...@webkit.org>
+
+ DocumentWriter::deprecatedFrameEncoding doesn't need to refert to Settings
+ https://bugs.webkit.org/show_bug.cgi?id=67812
+
+ Reviewed by Eric Seidel.
+
+ The one caller of this function does this work already.
+
+ * loader/DocumentWriter.cpp:
+ (WebCore::DocumentWriter::deprecatedFrameEncoding):
+
2011-09-08 Adam Klein <ad...@chromium.org>
Always zero-out m_sortedTextBoxesPosition to avoid uninitialized read in TextIterator
Modified: trunk/Source/WebCore/loader/DocumentWriter.cpp (94824 => 94825)
--- trunk/Source/WebCore/loader/DocumentWriter.cpp 2011-09-09 01:14:50 UTC (rev 94824)
+++ trunk/Source/WebCore/loader/DocumentWriter.cpp 2011-09-09 01:25:42 UTC (rev 94825)
@@ -254,8 +254,7 @@
if (m_decoder && m_decoder->encoding().isValid())
return m_decoder->encoding().name();
- Settings* settings = m_frame->settings();
- return settings ? settings->defaultTextEncodingName() : String();
+ return String();
}
void DocumentWriter::setDocumentWasLoadedAsPartOfNavigation()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes