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

Unified Diff: Source/core/Init.cpp

Issue 324813002: Convert raw pointer to PassOwnPtr for EventFactoryBase (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix debug build. Created 6 years, 6 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 | Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/Init.cpp
diff --git a/Source/core/Init.cpp b/Source/core/Init.cpp
index bacf2b37b672a319b04b04ee85b109b0cf88b797..67981f0c2d50197011688fd2acf251d313160dcf 100644
--- a/Source/core/Init.cpp
+++ b/Source/core/Init.cpp
@@ -74,7 +74,7 @@ void CoreInitializer::registerEventFactory()
return;
isRegistered = true;
- Document::registerEventFactory(new EventFactory());
+ Document::registerEventFactory(EventFactory::create());
}
void CoreInitializer::init()
« no previous file with comments | « no previous file | Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698