also format missing .cc files

This commit is contained in:
Shelley Vohr 2018-04-17 21:55:30 -04:00
parent 53bdf22c85
commit c6f4bbd143
No known key found for this signature in database
GPG key ID: F13993A75599653C
181 changed files with 4102 additions and 4254 deletions

View file

@ -14,8 +14,8 @@ namespace atom {
namespace {
const char* kAtomsToCache[] = {
"_NET_WM_STATE",
NULL,
"_NET_WM_STATE",
NULL,
};
} // namespace
@ -71,8 +71,7 @@ void WindowStateWatcher::DidProcessEvent(const ui::PlatformEvent& event) {
bool WindowStateWatcher::IsWindowStateEvent(const ui::PlatformEvent& event) {
::Atom changed_atom = event->xproperty.atom;
return (changed_atom == gfx::GetAtom("_NET_WM_STATE") &&
event->type == PropertyNotify &&
event->xproperty.window == widget_);
event->type == PropertyNotify && event->xproperty.window == widget_);
}
} // namespace atom