From: Cheng Zhao Date: Tue, 10 Dec 2013 06:15:14 +0000 (+0800) Subject: node::ObjectWrap how had a handle() method. X-Git-Tag: v0.8.0~4^2~52 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f9c41f33e5aa40b364def70ae1c9c9fe65aee9f8;p=electron.git node::ObjectWrap how had a handle() method. --- diff --git a/browser/api/atom_api_event_emitter.h b/browser/api/atom_api_event_emitter.h index aec37d7f..dd229223 100644 --- a/browser/api/atom_api_event_emitter.h +++ b/browser/api/atom_api_event_emitter.h @@ -29,9 +29,6 @@ class EventEmitter : public node::ObjectWrap { bool Emit(const std::string& name); bool Emit(const std::string& name, base::ListValue* args); - // Small accessor to return handle_, this follows Google C++ Style. - v8::Persistent handle() const { return handle_; } - protected: explicit EventEmitter(v8::Handle wrapper);