Merge pull request #29 from electron/revert-c66-change
Revert "Address breaking API"
This commit is contained in:
commit
bb2fb93355
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ MATE_METHOD_RETURN_TYPE InvokeNew(const base::Callback<Sig>& factory,
|
|||
WrappableBase* object;
|
||||
{
|
||||
// Don't continue if the constructor throws an exception.
|
||||
v8::TryCatch try_catch(isolate);
|
||||
v8::TryCatch try_catch;
|
||||
object = internal::InvokeFactory(args, factory);
|
||||
if (try_catch.HasCaught()) {
|
||||
try_catch.ReThrow();
|
||||
|
|
|
@ -69,7 +69,7 @@ class ObjectTemplateBuilder {
|
|||
public:
|
||||
explicit ObjectTemplateBuilder(
|
||||
v8::Isolate* isolate,
|
||||
v8::Local<v8::ObjectTemplate> templ);
|
||||
v8::Local<v8::ObjectTemplate> templ = v8::ObjectTemplate::New());
|
||||
~ObjectTemplateBuilder();
|
||||
|
||||
// It's against Google C++ style to return a non-const ref, but we take some
|
||||
|
|
Loading…
Reference in a new issue