| Index: third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| index b61f73cdce319771da30e544d7ffba76b093f437..85237ea5739132dd12a305b11674f45de7d65867 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| @@ -124,6 +124,10 @@ void LayoutMenuList::AdjustInnerStyle() {
|
| inner_style.SetDirection(option_style_->Direction());
|
| inner_style.SetUnicodeBidi(option_style_->GetUnicodeBidi());
|
| }
|
| +
|
| + // LayoutMenuList::ControlClipRect() depends on inner_block_->ContentsSize().
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| + SetNeedsPaintPropertyUpdate();
|
| }
|
|
|
| HTMLSelectElement* LayoutMenuList::SelectElement() const {
|
| @@ -137,6 +141,10 @@ void LayoutMenuList::AddChild(LayoutObject* new_child,
|
|
|
| if (AXObjectCache* cache = GetDocument().ExistingAXObjectCache())
|
| cache->ChildrenChanged(this);
|
| +
|
| + // LayoutMenuList::ControlClipRect() depends on inner_block_->ContentsSize().
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| + SetNeedsPaintPropertyUpdate();
|
| }
|
|
|
| void LayoutMenuList::RemoveChild(LayoutObject* old_child) {
|
|
|