Chromium Code Reviews| 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(); |
| } |