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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 405743002: Typecheck some of ui/webui/resources/js/ with Closure compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr.isMac fix 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
« no previous file with comments | « chrome/browser/resources/ntp4/tile_page.js ('k') | chrome/test/data/webui/link_controller_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 70be566e74f3d0b96a07d2dd5b43ca6ce15596e3..c883309a3773dde487ec075b56657ec9ad031483 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1345,8 +1345,7 @@ cr.define('options', function() {
return profile;
}
- assert(false,
- 'There should always be a current profile, but none found.');
+ assertNotReached('There should always be a current profile.');
},
/**
« no previous file with comments | « chrome/browser/resources/ntp4/tile_page.js ('k') | chrome/test/data/webui/link_controller_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698