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

Unified Diff: runtime/bin/eventhandler.h

Issue 22901017: Always initialize the EventHandler in the standalone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 | « no previous file | runtime/bin/eventhandler.cc » ('j') | runtime/bin/eventhandler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.h
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
index 8a2604303c8326e33cd6a4b83ca13db65f1a5e3a..d7f1f7a6b5a80f58ce42b21ceb7d374c8198f257 100644
--- a/runtime/bin/eventhandler.h
+++ b/runtime/bin/eventhandler.h
@@ -112,11 +112,7 @@ class EventHandler {
delegate_.Shutdown();
}
- static EventHandler* Start() {
- EventHandler* handler = new EventHandler();
- handler->delegate_.Start(handler);
- return handler;
- }
+ static void Start();
static void Stop();
« no previous file with comments | « no previous file | runtime/bin/eventhandler.cc » ('j') | runtime/bin/eventhandler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698