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

Unified Diff: third_party/closure_compiler/runner/src/org/chromium/closure/compiler/ChromeCodingConvention.java

Issue 1018583002: Fix compile error on building closure compiler. (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 | « no previous file | 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/org/chromium/closure/compiler/ChromeCodingConvention.java
diff --git a/third_party/closure_compiler/runner/src/org/chromium/closure/compiler/ChromeCodingConvention.java b/third_party/closure_compiler/runner/src/org/chromium/closure/compiler/ChromeCodingConvention.java
index 3c0ce8c20135b3c92986d11e2d43fc3e4d3ba9f5..27567c013cb7c86c56edf3677aec76141e763c4a 100644
--- a/third_party/closure_compiler/runner/src/org/chromium/closure/compiler/ChromeCodingConvention.java
+++ b/third_party/closure_compiler/runner/src/org/chromium/closure/compiler/ChromeCodingConvention.java
@@ -10,9 +10,9 @@ import com.google.common.collect.Sets;
import com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec;
import com.google.javascript.jscomp.CodingConvention;
import com.google.javascript.jscomp.CodingConventions;
-import com.google.javascript.rhino.FunctionTypeI;
+import com.google.javascript.rhino.jstype.FunctionType;
+import com.google.javascript.rhino.jstype.ObjectType;
import com.google.javascript.rhino.Node;
-import com.google.javascript.rhino.ObjectTypeI;
import java.util.Collection;
import java.util.Set;
@@ -46,8 +46,8 @@ public class ChromeCodingConvention extends CodingConventions.Proxy {
}
@Override
- public void applySingletonGetter(FunctionTypeI functionType,
- FunctionTypeI getterType, ObjectTypeI objectType) {
+ public void applySingletonGetter(FunctionType functionType,
+ FunctionType getterType, ObjectType objectType) {
super.applySingletonGetter(functionType, getterType, objectType);
functionType.defineDeclaredProperty("getInstance", getterType,
functionType.getSource());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698