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

Unified Diff: Source/web/WebElement.cpp

Issue 354763002: Remove WebElement::hasTagName. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebElement.cpp
diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
index 488605c1ce99538112f8827577308aa4b44b4b3d..4d097a71e529c35937d32739e1d6ebf481985480 100644
--- a/Source/web/WebElement.cpp
+++ b/Source/web/WebElement.cpp
@@ -62,12 +62,6 @@ WebString WebElement::tagName() const
return constUnwrap<Element>()->tagName();
}
-bool WebElement::hasTagName(const WebString& tagName) const
-{
- return equalIgnoringCase(constUnwrap<Element>()->tagName(),
- tagName.operator String());
-}
-
bool WebElement::hasHTMLTagName(const WebString& tagName) const
{
// How to create class nodeName localName
« no previous file with comments | « no previous file | Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698