No need to set "--harmony" in renderer process.

After Chrome 37 renderer process can work correctly without it.
This commit is contained in:
Cheng Zhao 2014-09-09 20:05:43 +08:00
parent ba439b6824
commit 5696fe8ec8

View file

@ -87,10 +87,6 @@ AtomRendererClient::AtomRendererClient()
node_integration_ = ALL;
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));
atom_bindings_.reset(new AtomRendererBindings);
}