Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 7919c1e0bb954ccfe7639c4e1fc4ebfe2dedd1d3..7508cb0453e10fad016fb4ec2eeccfbbfc22c48a 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -310,7 +310,8 @@ public: |
virtual void attach(const AttachContext& = AttachContext()) override; |
virtual void detach(const AttachContext& = AttachContext()) override; |
- virtual RenderObject* createRenderer(const RenderStyle&); |
+ |
+ virtual LayoutObject* createRenderer(const RenderStyle&); |
virtual bool rendererIsNeeded(const RenderStyle&); |
void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); |
void pseudoStateChanged(CSSSelector::PseudoType); |
@@ -415,7 +416,7 @@ public: |
void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
PseudoElement* pseudoElement(PseudoId) const; |
- RenderObject* pseudoElementRenderer(PseudoId) const; |
+ LayoutObject* pseudoElementRenderer(PseudoId) const; |
virtual bool matchesReadOnlyPseudoClass() const { return false; } |
virtual bool matchesReadWritePseudoClass() const { return false; } |
@@ -526,7 +527,7 @@ protected: |
// Subclasses may override this method to affect focusability. Unlike |
// supportsFocus, this method must be called on an up-to-date layout, so it |
// may use the renderer to reason about focusability. This method cannot be |
- // moved to RenderObject because some focusable nodes don't have renderers, |
+ // moved to LayoutObject because some focusable nodes don't have renderers, |
// e.g., HTMLOptionElement. |
virtual bool rendererIsFocusable() const; |