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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_watcher.js

Issue 651403002: Fix trivial type-check errors in file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and correct a comment. Created 6 years, 2 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: ui/file_manager/file_manager/foreground/js/file_watcher.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_watcher.js b/ui/file_manager/file_manager/foreground/js/file_watcher.js
index 9db0971aeeb2d7783b63595387d00912deb5e84e..dc59e708893a0d8928f0673d3b43832587b4a39d 100644
--- a/ui/file_manager/file_manager/foreground/js/file_watcher.js
+++ b/ui/file_manager/file_manager/foreground/js/file_watcher.js
@@ -143,7 +143,7 @@ FileWatcher.prototype.dispatchMetadataEvent_ = function(
FileWatcher.prototype.changeWatchedDirectory = function(entry, callback) {
if (!util.isFakeEntry(entry)) {
this.changeWatchedEntry_(
- entry,
+ /** @type {!DirectoryEntry} */ (entry),
callback,
function() {
console.error(

Powered by Google App Engine
This is Rietveld 408576698