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

Unified Diff: chrome/browser/resources/uber/uber.js

Issue 443553002: Typecheck chrome://help using CompilerPass.java, everything except dependency to options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: Created 6 years, 4 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
Index: chrome/browser/resources/uber/uber.js
diff --git a/chrome/browser/resources/uber/uber.js b/chrome/browser/resources/uber/uber.js
index 488310f8a305a894e2bb133128402b786029e83e..7902fe99c2faaa9c939ee376587a84fc08cb64bd 100644
--- a/chrome/browser/resources/uber/uber.js
+++ b/chrome/browser/resources/uber/uber.js
@@ -357,6 +357,7 @@ cr.define('uber', function() {
// Trigger a layout after making it visible and before setting
// the class to 'selected', so that it animates in.
+ /** @suppress {uselessCode} */
container.offsetTop;
container.classList.add('selected');

Powered by Google App Engine
This is Rietveld 408576698