Title: [94819] trunk/Source/WebKit/chromium
- Revision
- 94819
- Author
- [email protected]
- Date
- 2011-09-08 16:30:53 -0700 (Thu, 08 Sep 2011)
Log Message
Another attempt to fix the Chromium build. (Missed one.)
* src/WebPageSerializerImpl.cpp:
(WebKit::WebPageSerializerImpl::serialize):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (94818 => 94819)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-09-08 23:29:57 UTC (rev 94818)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-09-08 23:30:53 UTC (rev 94819)
@@ -1,5 +1,12 @@
2011-09-08 Adam Barth <[email protected]>
+ Another attempt to fix the Chromium build. (Missed one.)
+
+ * src/WebPageSerializerImpl.cpp:
+ (WebKit::WebPageSerializerImpl::serialize):
+
+2011-09-08 Adam Barth <[email protected]>
+
Attempt to fix Chromium build. We can just grab the encoding from the document.
* src/ContextMenuClientImpl.cpp:
Modified: trunk/Source/WebKit/chromium/src/WebPageSerializerImpl.cpp (94818 => 94819)
--- trunk/Source/WebKit/chromium/src/WebPageSerializerImpl.cpp 2011-09-08 23:29:57 UTC (rev 94818)
+++ trunk/Source/WebKit/chromium/src/WebPageSerializerImpl.cpp 2011-09-08 23:30:53 UTC (rev 94819)
@@ -509,7 +509,7 @@
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 : "";
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes