| Index: Source/core/html/HTMLFrameElementBase.h
|
| diff --git a/Source/core/html/HTMLFrameElementBase.h b/Source/core/html/HTMLFrameElementBase.h
|
| index 82c501362baa4697a01ebdf9a64c9c42fb903451..c774006c4c6f737be3dcd2516c1e11dd2a37968b 100644
|
| --- a/Source/core/html/HTMLFrameElementBase.h
|
| +++ b/Source/core/html/HTMLFrameElementBase.h
|
| @@ -61,8 +61,6 @@ private:
|
| virtual bool isURLAttribute(const Attribute&) const OVERRIDE FINAL;
|
| virtual bool isHTMLContentAttribute(const Attribute&) const OVERRIDE FINAL;
|
|
|
| - virtual bool isFrameElementBase() const OVERRIDE FINAL { return true; }
|
| -
|
| virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false; }
|
|
|
| void setNameAndOpenURL();
|
| @@ -79,7 +77,12 @@ private:
|
|
|
| inline bool isHTMLFrameElementBase(const Node& node)
|
| {
|
| - return node.isElementNode() && toElement(node).isFrameElementBase();
|
| + return isHTMLFrameElement(node) || isHTMLIFrameElement(node);
|
| +}
|
| +
|
| +inline bool isHTMLFrameElementBase(const Node* node)
|
| +{
|
| + return node && isHTMLFrameElementBase(*node);
|
| }
|
|
|
| DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFrameElementBase);
|
|
|