Index: third_party/WebKit/Source/web/WebDocument.cpp |
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp |
index 3b9da10571a614176c86766a8fd92ce305285dde..9ef8eba26d5fbe4f0fabe032d22b475a1330afce 100644 |
--- a/third_party/WebKit/Source/web/WebDocument.cpp |
+++ b/third_party/WebKit/Source/web/WebDocument.cpp |
@@ -336,6 +336,8 @@ WebDocument::WebDocument(const PassRefPtrWillBeRawPtr<Document>& elem) |
{ |
} |
+DEFINE_WEB_NODE_TYPE_CASTS(WebDocument, constUnwrap<Node>()->isDocumentNode()); |
+ |
WebDocument& WebDocument::operator=(const PassRefPtrWillBeRawPtr<Document>& elem) |
{ |
m_private = elem; |