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

Unified Diff: third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionReceiverChecker.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/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionReceiverChecker.java
diff --git a/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionReceiverChecker.java b/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionReceiverChecker.java
index d7b6c01ecb28048ca7901a1836cebc869a15c9e2..73cbf3c69e9c3d1ec991949726153a017e5408c8 100644
--- a/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionReceiverChecker.java
+++ b/third_party/WebKit/Source/devtools/scripts/jsdoc_validator/src/org/chromium/devtools/jsdoc/checks/FunctionReceiverChecker.java
@@ -32,15 +32,15 @@ public final class FunctionReceiverChecker extends ContextTrackingChecker {
@Override
void enterNode(Node node) {
- switch (node.getType()) {
- case Token.CALL:
+ switch (node.getToken()) {
+ case CALL:
handleCall(node);
break;
- case Token.FUNCTION: {
+ case FUNCTION: {
handleFunction(node);
break;
}
- case Token.THIS: {
+ case THIS: {
handleThis();
break;
}
@@ -164,7 +164,7 @@ public final class FunctionReceiverChecker extends ContextTrackingChecker {
@Override
void leaveNode(Node node) {
- if (node.getType() != Token.FUNCTION) {
+ if (node.getToken() != Token.FUNCTION) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698