Fix chromium-style errors (#12802)

This commit is contained in:
Jeremy Apthorp 2018-05-03 07:04:22 -07:00 committed by Charles Kerr
parent 5ba9f6a966
commit cdc5022305
3 changed files with 4 additions and 4 deletions

View file

@ -44,13 +44,13 @@
}
- (void)onScreenLocked:(NSNotification*)notification {
for (auto& emitter : self->emitters) {
for (auto*& emitter : self->emitters) {
emitter->Emit("lock-screen");
}
}
- (void)onScreenUnlocked:(NSNotification*)notification {
for (auto& emitter : self->emitters) {
for (auto*& emitter : self->emitters) {
emitter->Emit("unlock-screen");
}
}

View file

@ -18,7 +18,7 @@ class NativeWindowViews;
class FramelessView : public views::NonClientFrameView {
public:
FramelessView();
virtual ~FramelessView();
~FramelessView() override;
virtual void Init(NativeWindowViews* window, views::Widget* frame);

View file

@ -13,7 +13,7 @@ namespace atom {
class MenuModelAdapter : public views::MenuModelAdapter {
public:
explicit MenuModelAdapter(AtomMenuModel* menu_model);
virtual ~MenuModelAdapter();
~MenuModelAdapter() override;
protected:
bool GetAccelerator(int id, ui::Accelerator* accelerator) const override;