| Index: third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/PopupMenuImpl.cpp b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| index 97bf482a6c9ff11ee298c762097a9b012dd0367e..9d4a06a0e3e624f5e7b8003546b9e02586468159 100644
|
| --- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| @@ -7,7 +7,6 @@
|
| #include "core/HTMLNames.h"
|
| #include "core/css/CSSFontSelector.h"
|
| #include "core/dom/ElementTraversal.h"
|
| -#include "core/dom/ExecutionContextTask.h"
|
| #include "core/dom/NodeComputedStyle.h"
|
| #include "core/dom/StyleEngine.h"
|
| #include "core/dom/TaskRunnerHelper.h"
|
| @@ -503,9 +502,9 @@ void PopupMenuImpl::updateFromElement(UpdateReason) {
|
| if (m_needsUpdate)
|
| return;
|
| m_needsUpdate = true;
|
| - ownerElement().document().postTask(
|
| - TaskType::UserInteraction, BLINK_FROM_HERE,
|
| - createSameThreadTask(&PopupMenuImpl::update, wrapPersistent(this)));
|
| + TaskRunnerHelper::get(TaskType::UserInteraction, &ownerElement().document())
|
| + ->postTask(BLINK_FROM_HERE,
|
| + WTF::bind(&PopupMenuImpl::update, wrapPersistent(this)));
|
| }
|
|
|
| void PopupMenuImpl::update() {
|
|
|