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

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

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: 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/html/HTMLTableElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
index 89a9080a095837e162de58bcabc56d4c0faca7c5..abae97aa55201ff47d8b65d3979be90c37f690f3 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
@@ -277,22 +277,22 @@ static bool GetBordersFromFrameAttributeValue(const AtomicString& value,
border_bottom = false;
border_left = false;
- if (EqualIgnoringCase(value, "above"))
+ if (DeprecatedEqualIgnoringCase(value, "above"))
border_top = true;
- else if (EqualIgnoringCase(value, "below"))
+ else if (DeprecatedEqualIgnoringCase(value, "below"))
border_bottom = true;
- else if (EqualIgnoringCase(value, "hsides"))
+ else if (DeprecatedEqualIgnoringCase(value, "hsides"))
border_top = border_bottom = true;
- else if (EqualIgnoringCase(value, "vsides"))
+ else if (DeprecatedEqualIgnoringCase(value, "vsides"))
border_left = border_right = true;
- else if (EqualIgnoringCase(value, "lhs"))
+ else if (DeprecatedEqualIgnoringCase(value, "lhs"))
border_left = true;
- else if (EqualIgnoringCase(value, "rhs"))
+ else if (DeprecatedEqualIgnoringCase(value, "rhs"))
border_right = true;
- else if (EqualIgnoringCase(value, "box") ||
- EqualIgnoringCase(value, "border"))
+ else if (DeprecatedEqualIgnoringCase(value, "box") ||
+ DeprecatedEqualIgnoringCase(value, "border"))
border_top = border_bottom = border_left = border_right = true;
- else if (!EqualIgnoringCase(value, "void"))
+ else if (!DeprecatedEqualIgnoringCase(value, "void"))
return false;
return true;
}
@@ -337,7 +337,7 @@ void HTMLTableElement::CollectStyleForPresentationAttribute(
}
} else if (name == alignAttr) {
if (!value.IsEmpty()) {
- if (EqualIgnoringCase(value, "center")) {
+ if (DeprecatedEqualIgnoringCase(value, "center")) {
AddPropertyToPresentationAttributeStyle(
style, CSSPropertyWebkitMarginStart, CSSValueAuto);
AddPropertyToPresentationAttributeStyle(
@@ -411,15 +411,15 @@ void HTMLTableElement::ParseAttribute(
params.new_value, border_top, border_right, border_bottom, border_left);
} else if (name == rulesAttr) {
rules_attr_ = kUnsetRules;
- if (EqualIgnoringCase(params.new_value, "none"))
+ if (DeprecatedEqualIgnoringCase(params.new_value, "none"))
rules_attr_ = kNoneRules;
- else if (EqualIgnoringCase(params.new_value, "groups"))
+ else if (DeprecatedEqualIgnoringCase(params.new_value, "groups"))
rules_attr_ = kGroupsRules;
- else if (EqualIgnoringCase(params.new_value, "rows"))
+ else if (DeprecatedEqualIgnoringCase(params.new_value, "rows"))
rules_attr_ = kRowsRules;
- else if (EqualIgnoringCase(params.new_value, "cols"))
+ else if (DeprecatedEqualIgnoringCase(params.new_value, "cols"))
rules_attr_ = kColsRules;
- else if (EqualIgnoringCase(params.new_value, "all"))
+ else if (DeprecatedEqualIgnoringCase(params.new_value, "all"))
rules_attr_ = kAllRules;
} else if (params.name == cellpaddingAttr) {
if (!params.new_value.IsEmpty())
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLParamElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698