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

Unified Diff: third_party/WebKit/Source/core/html/HTMLBaseElement.cpp

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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/HTMLBaseElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
index 34191db89e9806234e9ca9f41e28b40e697355e2..d5da9007ecb86e29f3ee8946bf835cce3c6205fa 100644
--- a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
@@ -37,13 +37,12 @@ inline HTMLBaseElement::HTMLBaseElement(Document& document)
DEFINE_NODE_FACTORY(HTMLBaseElement)
-void HTMLBaseElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (name == hrefAttr || name == targetAttr)
+void HTMLBaseElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ if (params.name == hrefAttr || params.name == targetAttr)
document().processBaseElement();
else
- HTMLElement::parseAttribute(name, oldValue, value);
+ HTMLElement::parseAttribute(params);
}
Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBaseElement.h ('k') | third_party/WebKit/Source/core/html/HTMLBodyElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698