Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index c785dca1f0bb95368a5d8e098cbb561f6f403dcd..dbc9d21e995889a843b1423f6068649bd1819450 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -144,7 +144,7 @@ void EnsureNoWordBreaks(base::string16* shortcut_text) { |
*shortcut_text += non_breaking_plus; |
} |
- *shortcut_text += keys[keys.size() - 1]; |
+ *shortcut_text += keys.back(); |
} |
// Gets the notification message after it formats it in such a way that there |