Commit a827bd73 authored by oleg@chromium.org's avatar oleg@chromium.org

Prevent premature 'scan-completed' events in local search.

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10828091

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149174 0039d316-1c4b-4281-b951-d872f2087c98
parent 445e2128
...@@ -533,8 +533,7 @@ DirectoryContentsLocalSearch.prototype.scanDirectory_ = function(entry) { ...@@ -533,8 +533,7 @@ DirectoryContentsLocalSearch.prototype.scanDirectory_ = function(entry) {
}; };
/** /**
* Empty. * We get results for each directory in one go in scanDirectory_.
*/ */
DirectoryContentsLocalSearch.prototype.readNextChunk = function() { DirectoryContentsLocalSearch.prototype.readNextChunk = function() {
this.onCompleted();
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment