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

Unified Diff: third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePassConfig.java

Issue 1062653002: Fix some issues when building Closure runner.jar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « third_party/closure_compiler/externs/chrome_extensions.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePassConfig.java
diff --git a/third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePassConfig.java b/third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePassConfig.java
index a56314904804414044e12228b2a03a4dadc8285f..ca9f08f4423315efd1a411ecc1fe973fa3ce08bf 100644
--- a/third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePassConfig.java
+++ b/third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePassConfig.java
@@ -6,9 +6,9 @@ package com.google.javascript.jscomp;
import java.util.List;
-public class ChromePassConfig extends DefaultPassConfig {
+public class ChromePassConfig extends PassConfig.PassConfigDelegate {
public ChromePassConfig(CompilerOptions options) {
- super(options);
+ super(new DefaultPassConfig(options));
}
@Override
@@ -18,7 +18,7 @@ public class ChromePassConfig extends DefaultPassConfig {
return checks;
}
- final PassFactory chromePass = new PassFactory("chromePass", true) {
+ final static PassFactory chromePass = new PassFactory("chromePass", true) {
@Override
CompilerPass create(AbstractCompiler compiler) {
return new ChromePass(compiler);
« no previous file with comments | « third_party/closure_compiler/externs/chrome_extensions.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698