diff --git a/browser/accelerator_util.cc b/browser/accelerator_util.cc index 8f44fabbb21..0c642229ba7 100644 --- a/browser/accelerator_util.cc +++ b/browser/accelerator_util.cc @@ -42,7 +42,7 @@ bool StringToAccelerator(const std::string& description, std::vector tokens; base::SplitString(shortcut, '+', &tokens); - if (tokens.size() < 2 || tokens.size() > 3) { + if (tokens.size() < 2 || tokens.size() > 4) { LOG(WARNING) << "Invalid accelerator description: " << description; return false; }