No need to set "--harmony" in renderer process.
After Chrome 37 renderer process can work correctly without it.
This commit is contained in:
parent
ba439b6824
commit
5696fe8ec8
1 changed files with 0 additions and 4 deletions
|
@ -87,10 +87,6 @@ AtomRendererClient::AtomRendererClient()
|
||||||
node_integration_ = ALL;
|
node_integration_ = ALL;
|
||||||
|
|
||||||
if (IsNodeBindingEnabled()) {
|
if (IsNodeBindingEnabled()) {
|
||||||
// Always enable harmony when node binding is on.
|
|
||||||
std::string flags("--harmony");
|
|
||||||
v8::V8::SetFlagsFromString(flags.c_str(), static_cast<int>(flags.size()));
|
|
||||||
|
|
||||||
node_bindings_.reset(NodeBindings::Create(false));
|
node_bindings_.reset(NodeBindings::Create(false));
|
||||||
atom_bindings_.reset(new AtomRendererBindings);
|
atom_bindings_.reset(new AtomRendererBindings);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue