Fix chromium-style errors (#12802)
This commit is contained in:
parent
5ba9f6a966
commit
cdc5022305
3 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue