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

Unified Diff: third_party/WebKit/Source/core/html/LinkResource.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/html/LinkResource.cpp
diff --git a/third_party/WebKit/Source/core/html/LinkResource.cpp b/third_party/WebKit/Source/core/html/LinkResource.cpp
index 20a884f300cf8c77408c3dd4f9036ecedc9505a6..ee7a3345c94d75807b553e2b74f5da512213f2e3 100644
--- a/third_party/WebKit/Source/core/html/LinkResource.cpp
+++ b/third_party/WebKit/Source/core/html/LinkResource.cpp
@@ -73,7 +73,7 @@ LinkRequestBuilder::LinkRequestBuilder(HTMLLinkElement* owner)
{
m_charset = m_owner->getAttribute(charsetAttr);
if (m_charset.isEmpty() && m_owner->document().frame())
- m_charset = m_owner->document().charset();
+ m_charset = m_owner->document().characterSet();
}
FetchRequest LinkRequestBuilder::build(bool blocking) const

Powered by Google App Engine
This is Rietveld 408576698