| Index: chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.cc b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| index 672fde34428a8d52d454ef7d0f498d0586c029df..b806070350cc613c0cdbf7d7376c171d03b46a17 100644
|
| --- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| +++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| @@ -210,7 +210,7 @@ const struct UmaEnumCommandIdPair {
|
| };
|
|
|
| // Collapses large ranges of ids before looking for UMA enum.
|
| -int CollapleCommandsForUMA(int id) {
|
| +int CollapseCommandsForUMA(int id) {
|
| if (id >= IDC_CONTENT_CONTEXT_CUSTOM_FIRST &&
|
| id <= IDC_CONTENT_CONTEXT_CUSTOM_LAST) {
|
| return IDC_CONTENT_CONTEXT_CUSTOM_FIRST;
|
| @@ -241,7 +241,7 @@ int CollapleCommandsForUMA(int id) {
|
|
|
| // Returns UMA enum value for command specified by |id| or -1 if not found.
|
| int FindUMAEnumValueForCommand(int id) {
|
| - id = CollapleCommandsForUMA(id);
|
| + id = CollapseCommandsForUMA(id);
|
| const size_t kMappingSize = arraysize(kUmaEnumToControlId);
|
| for (size_t i = 0; i < kMappingSize; ++i) {
|
| if (kUmaEnumToControlId[i].control_id == id) {
|
|
|