| Index: Source/core/html/shadow/PickerIndicatorElement.cpp
|
| diff --git a/Source/core/html/shadow/PickerIndicatorElement.cpp b/Source/core/html/shadow/PickerIndicatorElement.cpp
|
| index 7884fab922a8c9f639b88491842cf5881af01599..f4d51d1376409a500fd512743460825c05c3ac6f 100644
|
| --- a/Source/core/html/shadow/PickerIndicatorElement.cpp
|
| +++ b/Source/core/html/shadow/PickerIndicatorElement.cpp
|
| @@ -40,7 +40,6 @@
|
| #include "core/page/ChromeClient.h"
|
| #include "core/page/Page.h"
|
| #include "platform/LayoutTestSupport.h"
|
| -#include "wtf/TemporaryChange.h"
|
|
|
| using namespace WTF::Unicode;
|
|
|
| @@ -51,7 +50,6 @@ using namespace HTMLNames;
|
| inline PickerIndicatorElement::PickerIndicatorElement(Document& document, PickerIndicatorOwner& pickerIndicatorOwner)
|
| : HTMLDivElement(document)
|
| , m_pickerIndicatorOwner(&pickerIndicatorOwner)
|
| - , m_isInOpenPopup(false)
|
| {
|
| }
|
|
|
| @@ -124,12 +122,6 @@ void PickerIndicatorElement::didEndChooser()
|
|
|
| void PickerIndicatorElement::openPopup()
|
| {
|
| - // The m_isInOpenPopup flag is unnecessary in production.
|
| - // MockPagePopupDriver allows to execute JavaScript code in
|
| - // DateTimeChooserImpl constructor. It might create another DateTimeChooser.
|
| - if (m_isInOpenPopup)
|
| - return;
|
| - TemporaryChange<bool> reentrancyProtector(m_isInOpenPopup, true);
|
| if (m_chooser)
|
| return;
|
| if (!document().page())
|
|
|