Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java |
diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
index 5f04de172dff3c7c1312cc17723bf5b3ec732187..6c5e21a268133ce6c9e2f2dc5cb778a3340366eb 100644 |
--- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
+++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
@@ -148,9 +148,9 @@ public class Shell extends LinearLayout { |
mUrlTextView.setOnEditorActionListener(new OnEditorActionListener() { |
@Override |
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { |
- if ((actionId != EditorInfo.IME_ACTION_GO) && (event == null || |
- event.getKeyCode() != KeyEvent.KEYCODE_ENTER || |
- event.getAction() != KeyEvent.ACTION_DOWN)) { |
+ if ((actionId != EditorInfo.IME_ACTION_GO) && (event == null |
+ || event.getKeyCode() != KeyEvent.KEYCODE_ENTER |
+ || event.getAction() != KeyEvent.ACTION_DOWN)) { |
return false; |
} |
loadUrl(mUrlTextView.getText().toString()); |