| Index: Source/core/html/HTMLFrameElementBase.h
|
| diff --git a/Source/core/html/HTMLFrameElementBase.h b/Source/core/html/HTMLFrameElementBase.h
|
| index ff44bb6e5e7168dfdc0fd50e303874f8c4e1e8b0..694a523700b1270577f08cba9bdcc409a623ae86 100644
|
| --- a/Source/core/html/HTMLFrameElementBase.h
|
| +++ b/Source/core/html/HTMLFrameElementBase.h
|
| @@ -76,17 +76,17 @@ private:
|
| int m_marginHeight;
|
| };
|
|
|
| -inline bool isHTMLFrameElementBase(const Node& node)
|
| +inline bool isHTMLFrameElementBase(const Element& element)
|
| {
|
| - return isHTMLFrameElement(node) || isHTMLIFrameElement(node);
|
| + return isHTMLFrameElement(element) || isHTMLIFrameElement(element);
|
| }
|
|
|
| -inline bool isHTMLFrameElementBase(const Node* node)
|
| +inline bool isHTMLFrameElementBase(const HTMLElement& element)
|
| {
|
| - return node && isHTMLFrameElementBase(*node);
|
| + return isHTMLFrameElement(element) || isHTMLIFrameElement(element);
|
| }
|
|
|
| -DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFrameElementBase);
|
| +DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFrameElementBase);
|
|
|
| } // namespace WebCore
|
|
|
|
|