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

Unified Diff: webkit/port/bindings/v8/v8_events.cpp

Issue 18013: When any event is ongoing, we don't set user gesture correctly... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_events.cpp
===================================================================
--- webkit/port/bindings/v8/v8_events.cpp (revision 8035)
+++ webkit/port/bindings/v8/v8_events.cpp (working copy)
@@ -107,6 +107,9 @@
ret = CallListenerFunction(jsevent, event, isWindowEvent);
}
+ // Restore the old event.
Mike Belshe 2009/01/14 23:36:00 Update comment to: Restore the old event. This m
+ context->Global()->Set(event_symbol, saved_evt);
+
if (V8Proxy::HandleOutOfMemory())
ASSERT(ret.IsEmpty());
@@ -128,9 +131,6 @@
}
}
- // Restore the old event.
- context->Global()->Set(event_symbol, saved_evt);
-
Document::updateDocumentsRendering();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698