diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index e59c2ee2cd8d1445dccf6323964057a012fb2722..47a78c049a1bac59454cc6ae50c40c6280f9d9a5 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -264,7 +264,7 @@ class LLKeybindingHandler: public LLCommandHandler
     }
 
     bool handle(const LLSD& params, const LLSD& query_map,
-                LLMediaCtrl* web)
+                const std::string& grid, LLMediaCtrl* web)
     {
         if (params.size() < 1) return false;