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

Unified Diff: third_party/WebKit/Source/core/page/PageSerializer.cpp

Issue 1365923002: Make Document.charset an alias of characterSet, as per spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/loader/FormSubmission.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/PageSerializer.cpp
diff --git a/third_party/WebKit/Source/core/page/PageSerializer.cpp b/third_party/WebKit/Source/core/page/PageSerializer.cpp
index 96d4a4220cefb9f71e00401f2d79b9e7dd80b2b3..a84781304a93af77f0a313ad90b5ef6f55c8be86 100644
--- a/third_party/WebKit/Source/core/page/PageSerializer.cpp
+++ b/third_party/WebKit/Source/core/page/PageSerializer.cpp
@@ -164,7 +164,7 @@ void SerializerMarkupAccumulator::appendElement(StringBuilder& result, Element&
result.appendLiteral("<meta http-equiv=\"Content-Type\" content=\"");
MarkupFormatter::appendAttributeValue(result, m_document->suggestedMIMEType(), m_document->isHTMLDocument());
result.appendLiteral("; charset=");
- MarkupFormatter::appendAttributeValue(result, m_document->charset(), m_document->isHTMLDocument());
+ MarkupFormatter::appendAttributeValue(result, m_document->characterSet(), m_document->isHTMLDocument());
if (m_document->isXHTMLDocument())
result.appendLiteral("\" />");
else
« no previous file with comments | « third_party/WebKit/Source/core/loader/FormSubmission.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698