Skip to content

Commit f7aaf4d

Browse files
concavelenzcopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 647801546
1 parent 5d26a75 commit f7aaf4d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/com/google/javascript/jscomp/ProcessClosurePrimitives.java

-12
Original file line numberDiff line numberDiff line change
@@ -671,18 +671,6 @@ public CssRenamingMap.Style getStyle() {
671671

672672
/** Process a goog.addDependency() call and record any forward declarations. */
673673
private void processAddDependency(Node n) {
674-
CodingConvention convention = compiler.getCodingConvention();
675-
List<String> typeDecls =
676-
convention.identifyTypeDeclarationCall(n);
677-
678-
// TODO(nnaze): Use of addDependency() should someday cause a warning
679-
// as we migrate users to explicit goog.forwardDeclare() calls.
680-
if (typeDecls != null) {
681-
for (String typeDecl : typeDecls) {
682-
compiler.forwardDeclareType(typeDecl);
683-
}
684-
}
685-
686674
// We can't modify parent, so just create a node that will
687675
// get compiled out.
688676
Node emptyNode = IR.number(0);

0 commit comments

Comments
 (0)