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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMetaElement.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/HTMLMetaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp
index dc94d1b5afadf6386f584a27cae42245509777b0..d1d9ad5bb5e53b00c5b6261986f305aeb66860de 100644
--- a/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMetaElement.cpp
@@ -430,16 +430,15 @@ void HTMLMetaElement::processViewportContentAttribute(
document().setViewportDescription(descriptionFromLegacyTag);
}
-void HTMLMetaElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (name == http_equivAttr || name == contentAttr) {
+void HTMLMetaElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ if (params.name == http_equivAttr || params.name == contentAttr) {
process();
return;
}
- if (name != nameAttr)
- HTMLElement::parseAttribute(name, oldValue, value);
+ if (params.name != nameAttr)
+ HTMLElement::parseAttribute(params);
}
Node::InsertionNotificationRequest HTMLMetaElement::insertedInto(
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMetaElement.h ('k') | third_party/WebKit/Source/core/html/HTMLMeterElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698