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

Unified Diff: third_party/WebKit/Source/core/dom/ProcessingInstruction.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
Index: third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
diff --git a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
index cbe3e6c9c66a70d77e877de0e59c18b746d7f388..d540c30237fafccc249aee9cdd48323fe3ec2988 100644
--- a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
+++ b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
@@ -172,7 +172,7 @@ void ProcessingInstruction::process(const String& href, const String& charset)
if (RuntimeEnabledFeatures::xsltEnabled())
resource = XSLStyleSheetResource::fetch(request, document().fetcher());
} else {
- request.setCharset(charset.isEmpty() ? document().charset() : charset);
+ request.setCharset(charset.isEmpty() ? document().characterSet() : charset);
resource = CSSStyleSheetResource::fetch(request, document().fetcher());
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.idl ('k') | third_party/WebKit/Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698