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

Unified Diff: third_party/WebKit/public/web/WebOptionElement.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
« no previous file with comments | « third_party/WebKit/public/web/WebNode.h ('k') | third_party/WebKit/public/web/WebPluginDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebOptionElement.h
diff --git a/third_party/WebKit/public/web/WebOptionElement.h b/third_party/WebKit/public/web/WebOptionElement.h
index dfbba7e730383727c2bcd206dab6911d2ef50b2f..bc98f982157dfb3336877823ca35f4133a6a5d11 100644
--- a/third_party/WebKit/public/web/WebOptionElement.h
+++ b/third_party/WebKit/public/web/WebOptionElement.h
@@ -39,7 +39,7 @@ namespace blink {
class HTMLOptionElement;
// Provides readonly access to some properties of a DOM option element node.
-class WebOptionElement : public WebElement {
+class WebOptionElement final : public WebElement {
public:
WebOptionElement() : WebElement() { }
WebOptionElement(const WebOptionElement& element) : WebElement(element) { }
@@ -66,6 +66,8 @@ public:
#endif
};
+DECLARE_WEB_NODE_TYPE_CASTS(WebOptionElement);
+
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/public/web/WebNode.h ('k') | third_party/WebKit/public/web/WebPluginDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698