chore: remove redundant code in node integration (#33500)

This commit is contained in:
Cheng Zhao 2022-03-30 12:09:42 +09:00 committed by GitHub
parent df3cfb663c
commit c119b1ebef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 32 additions and 108 deletions

View file

@ -13,16 +13,9 @@ namespace electron {
class NodeBindingsMac : public NodeBindings {
public:
explicit NodeBindingsMac(BrowserEnvironment browser_env);
~NodeBindingsMac() override;
void PrepareMessageLoop() override;
void RunMessageLoop() override;
private:
void PollEvents() override;
// uv's backend fd.
int handle_ = -1;
};
} // namespace electron