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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h

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/custom/CustomElementTestHelpers.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h b/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
index f710de0b9183ce631156b6a27e521ad933b79aee..04ef2808de8af5d37a47cd9d69b9495fbdaf303e 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
@@ -123,8 +123,8 @@ class CreateElement {
if (!document)
document = HTMLDocument::Create();
NonThrowableExceptionState no_exceptions;
- Element* element =
- document->createElementNS(namespace_uri_, local_name_, no_exceptions);
+ Element* element = document->createElementNS(nullptr, namespace_uri_,
+ local_name_, no_exceptions);
for (const auto& attribute : attributes_)
element->setAttribute(attribute.first, attribute.second);
return element;

Powered by Google App Engine
This is Rietveld 408576698