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

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

Powered by Google App Engine
This is Rietveld 408576698