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

Unified Diff: Source/core/page/PointerLockController.cpp

Issue 23714003: Refactoring: Add Event::createBubble. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/core/html/HTMLTextFormControlElement.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PointerLockController.cpp
diff --git a/Source/core/page/PointerLockController.cpp b/Source/core/page/PointerLockController.cpp
index 26c4c9dfc7da720ee89bcc2908a649aa7ff15790..6347dda43f4fa6f1afe51394d89246f4a64d2441 100644
--- a/Source/core/page/PointerLockController.cpp
+++ b/Source/core/page/PointerLockController.cpp
@@ -153,7 +153,7 @@ void PointerLockController::enqueueEvent(const AtomicString& type, Element* elem
void PointerLockController::enqueueEvent(const AtomicString& type, Document* document)
{
if (document)
- document->enqueueDocumentEvent(Event::create(type, true, false));
+ document->enqueueDocumentEvent(Event::createBubble(type));
}
} // namespace WebCore
« no previous file with comments | « Source/core/html/HTMLTextFormControlElement.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698