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

Unified Diff: third_party/WebKit/public/web/WebFormElement.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/WebFormElement.h
diff --git a/third_party/WebKit/public/web/WebFormElement.h b/third_party/WebKit/public/web/WebFormElement.h
index 14137a49ec3a5880c3144d3d5561ea3eed738913..35fac53585e316450c565fe9a20deccce51462f7 100644
--- a/third_party/WebKit/public/web/WebFormElement.h
+++ b/third_party/WebKit/public/web/WebFormElement.h
@@ -41,7 +41,7 @@ class WebFormControlElement;
// A container for passing around a reference to a form element. Provides some
// information about the form.
-class WebFormElement : public WebElement {
+class WebFormElement final : public WebElement {
public:
~WebFormElement() { reset(); }
@@ -83,6 +83,8 @@ public:
#endif
};
+DECLARE_WEB_NODE_TYPE_CASTS(WebFormElement);
+
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/public/web/WebFormControlElement.h ('k') | third_party/WebKit/public/web/WebInputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698