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

Unified Diff: ui/android/java/src/org/chromium/ui/widget/TextViewWithClickableSpans.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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/widget/TextViewWithClickableSpans.java
diff --git a/ui/android/java/src/org/chromium/ui/widget/TextViewWithClickableSpans.java b/ui/android/java/src/org/chromium/ui/widget/TextViewWithClickableSpans.java
index 750710dfdf7814e7f1f1efe7024d709a0ba6ce13..2f5ff639acf963811f87886cf29bc2b708615424 100644
--- a/ui/android/java/src/org/chromium/ui/widget/TextViewWithClickableSpans.java
+++ b/ui/android/java/src/org/chromium/ui/widget/TextViewWithClickableSpans.java
@@ -138,8 +138,7 @@ public class TextViewWithClickableSpans extends TextView {
private void openDisambiguationMenu() {
ClickableSpan[] clickableSpans = getClickableSpans();
- if (clickableSpans == null || clickableSpans.length == 0)
- return;
+ if (clickableSpans == null || clickableSpans.length == 0) return;
SpannableString spannable = (SpannableString) getText();
PopupMenu popup = new PopupMenu(getContext(), this);
« no previous file with comments | « ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698