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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java

Issue 663573002: Fix Java indentation issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java
index 8a89fae977d4ef34b056f00503ea1089f35801f4..9f8f3d1b6e005529c418beb399d334aaec4243d1 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java
@@ -33,8 +33,8 @@ public class JSUtils {
public boolean isSatisfied() {
try {
String linkIsNotNull = executeJavaScriptAndWaitForResult(testCase, awContents,
- onEvaluateJavaScriptResultHelper,
- "document.getElementById('" + linkId + "') != null");
+ onEvaluateJavaScriptResultHelper,
+ "document.getElementById('" + linkId + "') != null");
return linkIsNotNull.equals("true");
} catch (Throwable t) {
t.printStackTrace();
@@ -48,11 +48,11 @@ public class JSUtils {
@Override
public void run() {
awContents.getWebContents().evaluateJavaScript(
- "var evObj = document.createEvent('Events'); " +
- "evObj.initEvent('click', true, false); " +
- "document.getElementById('" + linkId + "').dispatchEvent(evObj);" +
- "console.log('element with id [" + linkId + "] clicked');",
- null);
+ "var evObj = document.createEvent('Events'); " +
+ "evObj.initEvent('click', true, false); " +
+ "document.getElementById('" + linkId + "').dispatchEvent(evObj);" +
+ "console.log('element with id [" + linkId + "] clicked');",
+ null);
}
});
}

Powered by Google App Engine
This is Rietveld 408576698