Index: Source/core/rendering/RenderListBox.h |
diff --git a/Source/core/rendering/RenderListBox.h b/Source/core/rendering/RenderListBox.h |
index 44a2a7bc40f0e3199579459c75b10c8fdbf86b73..9c6e115e5885a5a55877097bc31e7df4b6ab2723 100644 |
--- a/Source/core/rendering/RenderListBox.h |
+++ b/Source/core/rendering/RenderListBox.h |
@@ -49,7 +49,7 @@ private: |
virtual const char* renderName() const override { return "RenderListBox"; } |
- virtual bool isListBox() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectListBox || RenderBlockFlow::isOfType(type); } |
virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override; |
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override; |