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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTableCellElement.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/HTMLTableCellElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp
index 148fdbab3445ff743a438f25fb661f33054a6f46..a0f641f4daf4d031a903590dbaf4f770112038e0 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp
@@ -109,14 +109,13 @@ void HTMLTableCellElement::collectStyleForPresentationAttribute(
}
}
-void HTMLTableCellElement::parseAttribute(const QualifiedName& name,
- const AtomicString& oldValue,
- const AtomicString& value) {
- if (name == rowspanAttr || name == colspanAttr) {
+void HTMLTableCellElement::parseAttribute(
+ const AttributeModificationParams& params) {
+ if (params.name == rowspanAttr || params.name == colspanAttr) {
if (layoutObject() && layoutObject()->isTableCell())
toLayoutTableCell(layoutObject())->colSpanOrRowSpanChanged();
} else {
- HTMLTablePartElement::parseAttribute(name, oldValue, value);
+ HTMLTablePartElement::parseAttribute(params);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTableCellElement.h ('k') | third_party/WebKit/Source/core/html/HTMLTableColElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698