| Index: Source/web/PopupMenuImpl.cpp
|
| diff --git a/Source/web/PopupMenuImpl.cpp b/Source/web/PopupMenuImpl.cpp
|
| index d898f80d9ef67ab0f454473e4c4dd3c8b670e964..01c5be3a14c523a163ebf265a9fcf3fd3e047bfa 100644
|
| --- a/Source/web/PopupMenuImpl.cpp
|
| +++ b/Source/web/PopupMenuImpl.cpp
|
| @@ -11,6 +11,7 @@
|
| #include "core/dom/ExecutionContextTask.h"
|
| #include "core/dom/NodeComputedStyle.h"
|
| #include "core/dom/StyleEngine.h"
|
| +#include "core/events/ScopedEventQueue.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/html/HTMLHRElement.h"
|
| #include "core/html/HTMLOptGroupElement.h"
|
| @@ -404,6 +405,7 @@ void PopupMenuImpl::setValueAndClosePopup(int numValue, const String& stringValu
|
| {
|
| ASSERT(m_popup);
|
| ASSERT(m_ownerElement);
|
| + EventQueueScope scope;
|
| RefPtrWillBeRawPtr<PopupMenuImpl> protector(this);
|
| bool success;
|
| int listIndex = stringValue.toInt(&success);
|
|
|