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

Unified Diff: third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java

Issue 2563763003: DevTools: roll closure compiler to 20161201. (Closed)
Patch Set: rebaselined Created 4 years 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: third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
diff --git a/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java b/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
index f0b1296f7319ed7fdf2b276f533899c4c64e999c..06c0d74b1a7113bdd627017f7f60f2db2820d2e0 100644
--- a/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
+++ b/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
@@ -186,14 +186,6 @@ public class Runner {
}
@Override
- protected CompilerOptions createOptions() {
- CompilerOptions options = super.createOptions();
- options.setIdeMode(true);
- options.setReportMissingOverride(CheckLevel.ERROR);
- return options;
- }
-
- @Override
protected void setRunOptions(CompilerOptions options)
throws FlagUsageException, IOException {
super.setRunOptions(options);
@@ -201,17 +193,12 @@ public class Runner {
}
int execute() {
- int result = 0;
- int runs = 1;
try {
- for (int i = 0; i < runs && result == 0; i++) {
- result = doRun();
- }
+ return doRun();
} catch (Throwable t) {
t.printStackTrace();
- result = -2;
+ return -2;
}
- return result;
}
}

Powered by Google App Engine
This is Rietveld 408576698