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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/directory_model.js

Issue 166443008: Files.app: Use createDirectoryContents_ method during search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/file_manager/foreground/js/directory_contents.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/foreground/js/directory_model.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/directory_model.js b/chrome/browser/resources/file_manager/foreground/js/directory_model.js
index d78730029b072225151c3a377f93f7ff145e1f63..d1a57469516815f5cc5ee44026d8ef0d19a457bc 100644
--- a/chrome/browser/resources/file_manager/foreground/js/directory_model.js
+++ b/chrome/browser/resources/file_manager/foreground/js/directory_model.js
@@ -843,7 +843,7 @@ DirectoryModel.prototype.search = function(query,
if (!(query || '').trimLeft()) {
if (this.isSearching()) {
- var newDirContents = DirectoryContents.createForDirectory(
+ var newDirContents = this.createDirectoryContents_(
this.currentFileListContext_,
currentDirEntry);
this.clearAndScan_(newDirContents);
« no previous file with comments | « chrome/browser/resources/file_manager/foreground/js/directory_contents.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698