diff --git a/browser/ui/accelerator_util.cc b/browser/ui/accelerator_util.cc index c1563ca123a0..b814783574ba 100644 --- a/browser/ui/accelerator_util.cc +++ b/browser/ui/accelerator_util.cc @@ -93,10 +93,6 @@ bool StringToAccelerator(const std::string& description, std::vector tokens; base::SplitString(shortcut, '+', &tokens); - if (tokens.size() < 2 || tokens.size() > 4) { - LOG(WARNING) << "Invalid accelerator description: " << description; - return false; - } // Now, parse it into an accelerator. int modifiers = ui::EF_NONE;