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

Unified Diff: third_party/WebKit/public/web/WebSelectElement.h

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/public/web/WebSelectElement.h
diff --git a/third_party/WebKit/public/web/WebSelectElement.h b/third_party/WebKit/public/web/WebSelectElement.h
index c60c80208456e76347cf94f18c128ef8b3b6a3c9..5afd57dcf5ac0fb7504af07bb4f8d7db15e196ea 100644
--- a/third_party/WebKit/public/web/WebSelectElement.h
+++ b/third_party/WebKit/public/web/WebSelectElement.h
@@ -40,7 +40,7 @@ namespace blink {
class HTMLSelectElement;
// Provides readonly access to some properties of a DOM select element node.
-class WebSelectElement : public WebFormControlElement {
+class WebSelectElement final : public WebFormControlElement {
public:
WebSelectElement() : WebFormControlElement() { }
WebSelectElement(const WebSelectElement& element) : WebFormControlElement(element) { }
@@ -61,6 +61,8 @@ public:
#endif
};
+DECLARE_WEB_NODE_TYPE_CASTS(WebSelectElement);
+
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/public/web/WebPluginDocument.h ('k') | third_party/WebKit/public/web/WebTextAreaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698