mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-29 04:05:37 +08:00
cpplint 💄
This commit is contained in:
@@ -55,7 +55,7 @@ std::string Browser::GetVersion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Browser::CancelQuit() {
|
void Browser::CancelQuit() {
|
||||||
// TODO: Research on how to cancel shutdown in Windows.
|
// TODO(zcbenz): Research on how to cancel shutdown in Windows.
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace atom
|
} // namespace atom
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ v8::Handle<v8::Value> IDWeakMap::Keys(const v8::Arguments& args) {
|
|||||||
v8::Handle<v8::Array> keys = v8::Array::New(obj->map_.size());
|
v8::Handle<v8::Array> keys = v8::Array::New(obj->map_.size());
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (auto el = obj->map_.begin(); el != obj->map_.end(); ++ el) {
|
for (auto el = obj->map_.begin(); el != obj->map_.end(); ++el) {
|
||||||
keys->Set(i, v8::Integer::New(el->first));
|
keys->Set(i, v8::Integer::New(el->first));
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user