]> khamidou — GitHub mirrors - electron.git/commitdiff
node::ObjectWrap how had a handle() method.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 10 Dec 2013 06:15:14 +0000 (14:15 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 10 Dec 2013 06:15:37 +0000 (14:15 +0800)
browser/api/atom_api_event_emitter.h

index aec37d7f16855ed979f3f0f0ddfa90496f443562..dd229223860117571cc2886b23d826759bf64506 100644 (file)
@@ -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<v8::Object> handle() const { return handle_; }
-
  protected:
   explicit EventEmitter(v8::Handle<v8::Object> wrapper);