Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java

Issue 1002883002: Fix up if statement curly braces issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
index c7e11d39773d075376369910872f0777255586b0..ba28bfe1eecca735a83b3326d172865c15b5c9a6 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
@@ -112,8 +112,7 @@ public class SuggestionPopup implements OnSuggestionsReceivedListener, TextWatch
int popupHeight = appRect.height() - dropDownItemHeight;
if (mSuggestionsPopup != null) {
int height = mSuggestionsPopupItemsCount * dropDownItemHeight;
- if (height < popupHeight)
- popupHeight = height;
+ if (height < popupHeight) popupHeight = height;
}
return popupHeight;
}

Powered by Google App Engine
This is Rietveld 408576698