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

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

Issue 2838123002: Count element name validity per DOM versus HTML parsing. (Closed)
Patch Set: Do not need the attribute counting. Created 3 years, 8 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/DOMImplementation.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
index 8aab9bbbe43126a637cd62de820b90afeb2ff968..54d9e626d54e0a31dc9f67cac859798f35fd5bd3 100644
--- a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
@@ -77,6 +77,7 @@ DocumentType* DOMImplementation::createDocumentType(
}
XMLDocument* DOMImplementation::createDocument(
+ const LocalDOMWindow* window,
const AtomicString& namespace_uri,
const AtomicString& qualified_name,
DocumentType* doctype,
@@ -98,8 +99,8 @@ XMLDocument* DOMImplementation::createDocument(
Node* document_element = nullptr;
if (!qualified_name.IsEmpty()) {
- document_element =
- doc->createElementNS(namespace_uri, qualified_name, exception_state);
+ document_element = doc->createElementNS(window, namespace_uri,
+ qualified_name, exception_state);
if (exception_state.HadException())
return nullptr;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMImplementation.h ('k') | third_party/WebKit/Source/core/dom/DOMImplementation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698