Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: third_party/WebKit/Source/web/ExternalPopupMenu.cpp

Issue 2643623002: Convert ExternalPopupMenu Timer to TaskRunnerTimer. (Closed)
Patch Set: Convert to UnspecedTimer Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/ExternalPopupMenu.cpp
diff --git a/third_party/WebKit/Source/web/ExternalPopupMenu.cpp b/third_party/WebKit/Source/web/ExternalPopupMenu.cpp
index 014ef2260fbb22d77d78dae854e021a70833aa4d..f6a331218310e6f8b5a066a0e083a9235a85ae65 100644
--- a/third_party/WebKit/Source/web/ExternalPopupMenu.cpp
+++ b/third_party/WebKit/Source/web/ExternalPopupMenu.cpp
@@ -61,7 +61,10 @@ ExternalPopupMenu::ExternalPopupMenu(LocalFrame& frame,
: m_ownerElement(ownerElement),
m_localFrame(frame),
m_webView(webView),
- m_dispatchEventTimer(this, &ExternalPopupMenu::dispatchEvent),
+ m_dispatchEventTimer(
+ TaskRunnerHelper::get(TaskType::UnspecedTimer, &frame),
+ this,
+ &ExternalPopupMenu::dispatchEvent),
m_webExternalPopupMenu(0) {}
ExternalPopupMenu::~ExternalPopupMenu() {}
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698