Commit b8233a13 authored by jsbell@chromium.org's avatar jsbell@chromium.org

Revert 126719 - IndexedDB: Fix prefetching; cache was always being bypassed.

Regression introduced in r119183 when "Null" and "Invalid" were disambiguated.

Tests will require refactoring; tracked as crbug.com/118033

BUG=117920

Review URL: http://codereview.chromium.org/9691021

TBR=jsbell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9704039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126752 0039d316-1c4b-4281-b951-d872f2087c98
parent cf6f500d
...@@ -67,7 +67,7 @@ void RendererWebIDBCursorImpl::continueFunction(const WebIDBKey& key, ...@@ -67,7 +67,7 @@ void RendererWebIDBCursorImpl::continueFunction(const WebIDBKey& key,
IndexedDBDispatcher* dispatcher = IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(); IndexedDBDispatcher::ThreadSpecificInstance();
if (key.type() == WebIDBKey::NullType) { if (key.type() == WebIDBKey::InvalidType) {
// No key, so this would qualify for a prefetch. // No key, so this would qualify for a prefetch.
++continue_count_; ++continue_count_;
......
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