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

Unified Diff: Source/core/html/HTMLFrameElement.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/HTMLFrameElement.h
diff --git a/Source/core/html/HTMLFrameElement.h b/Source/core/html/HTMLFrameElement.h
index 4174eb4bbf81a41d13b0baec159e61ba0e1dbd00..d4bc3a97a55ff712aa3523a7bb0dbb635055e2b8 100644
--- a/Source/core/html/HTMLFrameElement.h
+++ b/Source/core/html/HTMLFrameElement.h
@@ -52,12 +52,6 @@ private:
bool m_frameBorderSet;
};
-inline HTMLFrameElement* toHTMLFrameElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::frameTag));
- return static_cast<HTMLFrameElement*>(node);
-}
-
} // namespace WebCore
#endif // HTMLFrameElement_h

Powered by Google App Engine
This is Rietveld 408576698