| Index: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| index 422185fd6be5af1c8254211d2f2ba058ce130c72..f22dd48c44a7be422881379ffe498c32129ffa0c 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| @@ -2032,8 +2032,16 @@ HTMLSelectElement::PopupUpdater::PopupUpdater(HTMLSelectElement& select)
|
| : m_select(select)
|
| {
|
| m_observer = MutationObserver::create(this);
|
| + Vector<String> filter;
|
| + filter.reserveCapacity(4);
|
| + // Observe only attributes which affect popup content.
|
| + filter.append(String("disabled"));
|
| + filter.append(String("label"));
|
| + filter.append(String("selected"));
|
| + filter.append(String("value"));
|
| MutationObserverInit init;
|
| init.setAttributes(true);
|
| + init.setAttributeFilter(filter);
|
| init.setCharacterData(true);
|
| init.setChildList(true);
|
| init.setSubtree(true);
|
|
|