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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2723053002: Use the correct case converter for |localName| and |tagName| (Closed)
Patch Set: Oops... Created 3 years, 10 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/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index d8fc1a43d6f1d65b869cedef6bcf79b60cd5eb2d..fbc5df68763c615c2bc386bbb6ae236d2e62489c 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -695,7 +695,7 @@ bool Document::isInMainFrame() const {
}
AtomicString Document::convertLocalName(const AtomicString& name) {
- return isHTMLDocument() ? name.lower() : name;
+ return isHTMLDocument() ? name.lowerASCII() : name;
}
// https://dom.spec.whatwg.org/#dom-document-createelement

Powered by Google App Engine
This is Rietveld 408576698