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

Unified Diff: mojo/public/python/mojo_application/application_runner.py

Issue 942013003: Python handler: Pass a python object to content handled application. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 10 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 | mojo/public/python/src/common.h » ('j') | mojo/public/python/src/common.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/mojo_application/application_runner.py
diff --git a/mojo/public/python/mojo_application/application_runner.py b/mojo/public/python/mojo_application/application_runner.py
index 94f472c5b4bc0283c1399fb08e220044026f96b6..e43a518f5beb1e31c7a5fab4a49cb7e67330134a 100644
--- a/mojo/public/python/mojo_application/application_runner.py
+++ b/mojo/public/python/mojo_application/application_runner.py
@@ -11,8 +11,7 @@ import mojo_system
def RunMojoApplication(application_delegate, app_request_handle):
loop = mojo_system.RunLoop()
- application = ApplicationImpl(application_delegate,
- mojo_system.Handle(app_request_handle))
+ application = ApplicationImpl(application_delegate, app_request_handle)
application.manager.AddOnErrorCallback(loop.Quit)
loop.Run()
« no previous file with comments | « no previous file | mojo/public/python/src/common.h » ('j') | mojo/public/python/src/common.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698