💄 Fix cpplint warnings.

This commit is contained in:
Cheng Zhao 2013-12-15 17:09:35 +08:00
parent cd68396bd5
commit 7e67f7632d
5 changed files with 20 additions and 10 deletions

View file

@ -239,7 +239,8 @@ void Menu::Clear(const v8::FunctionCallbackInfo<v8::Value>& args) {
}
// static
void Menu::GetIndexOfCommandId(const v8::FunctionCallbackInfo<v8::Value>& args) {
void Menu::GetIndexOfCommandId(
const v8::FunctionCallbackInfo<v8::Value>& args) {
UNWRAP_MEMNU_AND_CHECK;
int index = FromV8Value(args[0]);
args.GetReturnValue().Set(self->model_->GetIndexOfCommandId(index));