Index: ash/shelf/shelf_view.cc |
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc |
index 9a0fb70b8beee4bc916c7e10c212b1aab5277fc0..b4a3b72c3d1f43c28c4f53c84125c4ef8369824d 100644 |
--- a/ash/shelf/shelf_view.cc |
+++ b/ash/shelf/shelf_view.cc |
@@ -310,12 +310,13 @@ void ReflectItemStatus(const ShelfItem& item, ShelfButton* button) { |
} |
void RecordIconActivatedAction(const ui::Event& event) { |
- if (event.IsMouseEvent()) |
+ if (event.IsMouseEvent()) { |
Shell::GetInstance()->metrics()->RecordUserMetricsAction( |
UMA_LAUNCHER_BUTTON_PRESSED_WITH_MOUSE); |
- else if (event.IsGestureEvent()) |
+ } else if (event.IsGestureEvent()) { |
Shell::GetInstance()->metrics()->RecordUserMetricsAction( |
UMA_LAUNCHER_BUTTON_PRESSED_WITH_TOUCH); |
+ } |
} |
} // namespace |