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

Unified Diff: Source/core/html/HTMLParamElement.h

Issue 23991004: Generate toFooElement() functions from tagname data (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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: Source/core/html/HTMLParamElement.h
diff --git a/Source/core/html/HTMLParamElement.h b/Source/core/html/HTMLParamElement.h
index 55953fe7c878f7ae6d77d0681920610f112aa381..17a3c16dd3c575ff973b9dbc401ec29095dc55b0 100644
--- a/Source/core/html/HTMLParamElement.h
+++ b/Source/core/html/HTMLParamElement.h
@@ -44,12 +44,6 @@ private:
virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
};
-inline HTMLParamElement* toHTMLParamElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::paramTag));
- return static_cast<HTMLParamElement*>(node);
-}
-
} // namespace WebCore
#endif

Powered by Google App Engine
This is Rietveld 408576698