]> khamidou — GitHub mirrors - electron.git/commitdiff
cpplint :lipstick:
authorCheng Zhao <zcbenz@gmail.com>
Sun, 7 Jul 2013 08:26:59 +0000 (16:26 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 7 Jul 2013 08:26:59 +0000 (16:26 +0800)
browser/browser_win.cc
common/api/atom_api_id_weak_map.cc

index 786ec87f795957b831a0a52cbc472bfc05997407..1948abff5cb4c4183ee8b60a45d07a6b5eea968f 100644 (file)
@@ -55,7 +55,7 @@ std::string Browser::GetVersion() {
 }
 
 void Browser::CancelQuit() {
-  // TODO: Research on how to cancel shutdown in Windows.
+  // TODO(zcbenz): Research on how to cancel shutdown in Windows.
 }
 
 }  // namespace atom
index b6497f7149242a255d7d15775c564320d24387e8..6fb868b71561c468f61a3919058b0002a2386568 100644 (file)
@@ -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());
 
   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));
     ++i;
   }