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

Unified Diff: ui/file_manager/image_loader/image_loader.js

Issue 1148563004: Fix all compiler errors found by the new compiler version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 | « ui/file_manager/image_loader/cache_unittest.js ('k') | ui/file_manager/image_loader/request.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/image_loader/image_loader.js
diff --git a/ui/file_manager/image_loader/image_loader.js b/ui/file_manager/image_loader/image_loader.js
index 7665f074d78f5941770376bbefe73ea852908d9f..e28c6cd0fc13c9f3e1654f637554a28a33e457eb 100644
--- a/ui/file_manager/image_loader/image_loader.js
+++ b/ui/file_manager/image_loader/image_loader.js
@@ -9,10 +9,10 @@
function ImageLoader() {
/**
* Persistent cache object.
- * @type {Cache}
+ * @type {ImageCache}
* @private
*/
- this.cache_ = new Cache();
+ this.cache_ = new ImageCache();
/**
* Manages pending requests and runs them in order of priorities.
@@ -105,7 +105,7 @@ ImageLoader.prototype.onMessage_ = function(senderId, request, callback) {
return false; // No callback calls.
} else {
// Create a request task and add it to the scheduler (queue).
- var requestTask = new Request(
+ var requestTask = new ImageRequest(
requestId, this.cache_, this.piexLoader_, request, callback);
this.scheduler_.add(requestTask);
return true; // Request will call the callback.
« no previous file with comments | « ui/file_manager/image_loader/cache_unittest.js ('k') | ui/file_manager/image_loader/request.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698