| 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 1e210c4bf3559caae4f3e7d5ae6361d6f53ce8ab..6fc7eaf0fcc08f4ddbb190e76eb3fb7238d60fc2 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| @@ -125,6 +125,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 {
|
| @@ -138,6 +142,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) {
|
|
|