Index: third_party/WebKit/WebCore/dom/Node.h |
=================================================================== |
--- third_party/WebKit/WebCore/dom/Node.h (revision 9391) |
+++ third_party/WebKit/WebCore/dom/Node.h (working copy) |
@@ -58,6 +58,7 @@ |
class RegisteredEventListener; |
class RenderArena; |
class RenderBox; |
+class RenderBoxModelObject; |
class RenderObject; |
class RenderStyle; |
class StringBuilder; |
@@ -372,10 +373,10 @@ |
RenderObject* previousRenderer(); |
void setRenderer(RenderObject* renderer) { m_renderer = renderer; } |
- // Use with caution. Does no type checking. Mostly a convenience method for shadow nodes of form controls, where we know exactly |
- // what kind of renderer we made. |
+ // Use these two methods with caution. |
RenderBox* renderBox() const; |
- |
+ RenderBoxModelObject* renderBoxModelObject() const; |
+ |
void checkSetPrefix(const AtomicString& prefix, ExceptionCode&); |
bool isDescendantOf(const Node*) const; |
bool contains(const Node*) const; |