Chromium Code Reviews| Index: Source/core/rendering/RenderBox.h |
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
| index bce0122fd8c94b0ca88d6676eaaaac8533395d2f..df29dc82d730816a533ea0ebc4c541411e4c449f 100644 |
| --- a/Source/core/rendering/RenderBox.h |
| +++ b/Source/core/rendering/RenderBox.h |
| @@ -583,6 +583,11 @@ public: |
| return isFloatingWithShapeOutside() && ExclusionShapeOutsideInfo::isEnabledFor(this) ? ExclusionShapeOutsideInfo::info(this) : 0; |
| } |
| + bool isScrollableWithoutScrollbars() const |
|
Rick Byers
2013/05/30 16:15:00
It seems a little confusing to me to add a case wh
bokan
2013/05/30 18:23:51
Fixed. Removed this method and moved the condition
|
| + { |
| + return parent() && parent()->isTextField() && hasOverflowClip(); |
| + } |
| + |
| protected: |
| virtual void willBeDestroyed(); |