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

Unified Diff: third_party/WebKit/Source/web/WebSelectElement.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/WebSelectElement.cpp
diff --git a/third_party/WebKit/Source/web/WebSelectElement.cpp b/third_party/WebKit/Source/web/WebSelectElement.cpp
index 0e93a2a48a084eaa0523cfbab9da9f3e3df20bf7..95ee88070c49d51a66c0db3f7826d6d7e3d166f0 100644
--- a/third_party/WebKit/Source/web/WebSelectElement.cpp
+++ b/third_party/WebKit/Source/web/WebSelectElement.cpp
@@ -54,6 +54,8 @@ WebSelectElement::WebSelectElement(const PassRefPtrWillBeRawPtr<HTMLSelectElemen
{
}
+DEFINE_WEB_NODE_TYPE_CASTS(WebSelectElement, isHTMLSelectElement(constUnwrap<Node>()));
+
WebSelectElement& WebSelectElement::operator=(const PassRefPtrWillBeRawPtr<HTMLSelectElement>& element)
{
m_private = element;
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginDocument.cpp ('k') | third_party/WebKit/Source/web/WebTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698