Index: Source/core/rendering/RenderListBox.h |
diff --git a/Source/core/rendering/RenderListBox.h b/Source/core/rendering/RenderListBox.h |
index 3fd011c02f273c219acfbf04abb1013506ef096d..bf59bcfb59db8b8833b40696054178f8d8464148 100644 |
--- a/Source/core/rendering/RenderListBox.h |
+++ b/Source/core/rendering/RenderListBox.h |
@@ -51,7 +51,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; |