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

Unified Diff: Source/web/ExternalPopupMenu.cpp

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 9 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 | « Source/web/AssociatedURLLoader.cpp ('k') | Source/web/ValidationMessageClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ExternalPopupMenu.cpp
diff --git a/Source/web/ExternalPopupMenu.cpp b/Source/web/ExternalPopupMenu.cpp
index ab93bddb33428b64888cf1d32afc23358d1a6ac5..a1075db6f0f969ffca5151f58335509cdd62bc17 100644
--- a/Source/web/ExternalPopupMenu.cpp
+++ b/Source/web/ExternalPopupMenu.cpp
@@ -81,7 +81,7 @@ void ExternalPopupMenu::show(const FloatQuad& controlPosition, const IntSize&, i
m_syntheticEvent = adoptPtr(new WebMouseEvent);
*m_syntheticEvent = *static_cast<const WebMouseEvent*>(currentEvent);
m_syntheticEvent->type = WebInputEvent::MouseUp;
- m_dispatchEventTimer.startOneShot(0);
+ m_dispatchEventTimer.startOneShot(0, FROM_HERE);
// FIXME: show() is asynchronous. If preparing a popup is slow and
// a user released the mouse button before showing the popup,
// mouseup and click events are correctly dispatched. Dispatching
« no previous file with comments | « Source/web/AssociatedURLLoader.cpp ('k') | Source/web/ValidationMessageClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698