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

Unified Diff: third_party/WebKit/Source/web/WebTextAreaElement.cpp

Issue 1365203002: Make WebNode::to<Type>() (and toConst) casts contain type asserts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add BLINK_IMPLEMENTATION guard. Created 5 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: third_party/WebKit/Source/web/WebTextAreaElement.cpp
diff --git a/third_party/WebKit/Source/web/WebTextAreaElement.cpp b/third_party/WebKit/Source/web/WebTextAreaElement.cpp
index b8b5aa09abf535210fff4564064c322e36e4d4d7..ad1e4fc2589164611548c42930dcaeb78bfe38a5 100644
--- a/third_party/WebKit/Source/web/WebTextAreaElement.cpp
+++ b/third_party/WebKit/Source/web/WebTextAreaElement.cpp
@@ -43,6 +43,8 @@ WebTextAreaElement::WebTextAreaElement(const PassRefPtrWillBeRawPtr<HTMLTextArea
{
}
+DEFINE_WEB_NODE_TYPE_CASTS(WebTextAreaElement, isHTMLTextAreaElement(constUnwrap<Node>()));
+
WebTextAreaElement& WebTextAreaElement::operator=(const PassRefPtrWillBeRawPtr<HTMLTextAreaElement>& element)
{
m_private = element;
« no previous file with comments | « third_party/WebKit/Source/web/WebSelectElement.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698