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

Unified Diff: chrome/browser/resources/ntp4/tile_page.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
Index: chrome/browser/resources/ntp4/tile_page.js
diff --git a/chrome/browser/resources/ntp4/tile_page.js b/chrome/browser/resources/ntp4/tile_page.js
index df809bd1826eaf847328826dc9ec1c719050dc5f..6038c4f78a8d1627af8f87c0ee066b9e9c59ebd8 100644
--- a/chrome/browser/resources/ntp4/tile_page.js
+++ b/chrome/browser/resources/ntp4/tile_page.js
@@ -1372,7 +1372,7 @@ cr.define('ntp', function() {
* @param {number} index The tile index at which the drop occurred.
*/
addDragData: function(dataTransfer, index) {
- assert(false);
+ assertNotReached();
},
/**
@@ -1390,7 +1390,7 @@ cr.define('ntp', function() {
* @param {Object} dataTransfer The drag event dataTransfer object.
*/
setDropEffect: function(dataTransfer) {
- assert(false);
+ assertNotReached();
},
};
« no previous file with comments | « chrome/browser/resources/extensions/extension_error_overlay.js ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698