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

Unified Diff: third_party/WebKit/Source/core/dom/StyleElement.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/dom/StyleElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleElement.cpp b/third_party/WebKit/Source/core/dom/StyleElement.cpp
index a12a197a42870420f7e94dfa931a62c5f0578f6d..5f8bd0887f84168aa65113f184a3ecb020a2c1da 100644
--- a/third_party/WebKit/Source/core/dom/StyleElement.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleElement.cpp
@@ -39,9 +39,9 @@
namespace blink {
static bool IsCSS(const Element& element, const AtomicString& type) {
- return type.IsEmpty() ||
- (element.IsHTMLElement() ? EqualIgnoringCase(type, "text/css")
- : (type == "text/css"));
+ return type.IsEmpty() || (element.IsHTMLElement()
+ ? DeprecatedEqualIgnoringCase(type, "text/css")
+ : (type == "text/css"));
}
StyleElement::StyleElement(Document* document, bool created_by_parser)
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptLoader.cpp ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698