projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ee0cb
)
Separate initializing for each process.
80/168780/2
author
jinwoo jeong
<jw00.jeong@samsung.com>
Wed, 31 Jan 2018 01:52:01 +0000
(10:52 +0900)
committer
jaekuk lee
<juku1999@samsung.com>
Mon, 26 Feb 2018 06:51:15 +0000
(06:51 +0000)
efl::Initialize is needed by only browser process.
Change-Id: I84ae4c7d342d9c743157592bed363157c632ca28
Signed-off-by: jinwoo jeong <jw00.jeong@samsung.com>
atom/app/atom_main.cc
patch
|
blob
|
history
diff --git
a/atom/app/atom_main.cc
b/atom/app/atom_main.cc
index 7e2e41e1544472c8fd04b64ac6cdf16211a117c8..0d6ea8b328270d953ddbc8100a81526b0961e79a 100644
(file)
--- a/
atom/app/atom_main.cc
+++ b/
atom/app/atom_main.cc
@@
-144,7
+144,9
@@
int main(int argc, char* argv[]) {
}
#if defined(USE_EFL)
- if (efl::Initialize(argc, const_cast<const char**>(argv)))
+ if (argv[0] == "/usr/bin/electron") // not browser process
+ base::CommandLine::Init(argc, argv);
+ else if (efl::Initialize(argc, const_cast<const char**>(argv)))
return 1;
// Add params for EFL port