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

Unified Diff: Source/modules/InitModules.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 | « Source/modules/EventModulesFactory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/InitModules.cpp
diff --git a/Source/modules/InitModules.cpp b/Source/modules/InitModules.cpp
index 0752e927df317b4396b084c86fdc8ac94cbac891..d271534a38ef49a731514e955c6c9388ac1ab4ca 100644
--- a/Source/modules/InitModules.cpp
+++ b/Source/modules/InitModules.cpp
@@ -28,7 +28,7 @@ void ModulesInitializer::initEventTargetNames()
void ModulesInitializer::registerEventFactory()
{
CoreInitializer::registerEventFactory();
- Document::registerEventFactory(new EventModulesFactory());
+ Document::registerEventFactory(EventModulesFactory::create());
}
} // namespace WebCore
« no previous file with comments | « Source/modules/EventModulesFactory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698