Commit c75f975b authored by abarth@webkit.org's avatar abarth@webkit.org
Browse files

Another attempt to fix the Chromium build. (Missed one.)

* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::serialize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0850c8ee
2011-09-08 Adam Barth <abarth@webkit.org>
Another attempt to fix the Chromium build. (Missed one.)
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::serialize):
2011-09-08 Adam Barth <abarth@webkit.org>
Attempt to fix Chromium build. We can just grab the encoding from the document.
......
......@@ -509,7 +509,7 @@ bool WebPageSerializerImpl::serialize()
didSerialization = true;
String encoding = document->loader()->writer()->encoding();
String encoding = document->encoding();
const TextEncoding& textEncoding = encoding.isEmpty() ? UTF8Encoding() : TextEncoding(encoding);
String directoryName = url == mainURL ? m_localDirectoryName : "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment