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

Unified Diff: ui/file_manager/image_loader/cache_unittest.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.js ('k') | ui/file_manager/image_loader/image_loader.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/image_loader/cache_unittest.js
diff --git a/ui/file_manager/image_loader/cache_unittest.js b/ui/file_manager/image_loader/cache_unittest.js
index 1db4c4831dd6ff46efdb940b6ea0d62c7bc345f2..5a54ebc58269ffdf338f73a1713f53a049c43ecf 100644
--- a/ui/file_manager/image_loader/cache_unittest.js
+++ b/ui/file_manager/image_loader/cache_unittest.js
@@ -5,14 +5,14 @@
'use strict';
function testCreateCacheKey() {
- var key = Cache.createKey({url: 'http://example.com/image.jpg'});
+ var key = ImageCache.createKey({url: 'http://example.com/image.jpg'});
assertTrue(!!key);
}
function testNotCreateCacheKey() {
- var key = Cache.createKey({url: 'data:xxx'});
+ var key = ImageCache.createKey({url: 'data:xxx'});
assertFalse(!!key);
- var key = Cache.createKey({url: 'DaTa:xxx'});
+ var key = ImageCache.createKey({url: 'DaTa:xxx'});
assertFalse(!!key);
}
« no previous file with comments | « ui/file_manager/image_loader/cache.js ('k') | ui/file_manager/image_loader/image_loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698