diff options
author | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 21:13:13 +0000 |
---|---|---|
committer | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 21:13:13 +0000 |
commit | e7df39152ff45e8abdbfbab57a5dcec0c09ae34f (patch) | |
tree | 074b0e4760eceec7b65bbafaf8c82392a733bdbe /tools/generate_stubs | |
parent | d6e383d520f631a6fd027e2c1ca4d60b809fee03 (diff) | |
download | chromium_src-e7df39152ff45e8abdbfbab57a5dcec0c09ae34f.zip chromium_src-e7df39152ff45e8abdbfbab57a5dcec0c09ae34f.tar.gz chromium_src-e7df39152ff45e8abdbfbab57a5dcec0c09ae34f.tar.bz2 |
IndexedDB: Don't re-send WebIDBDatabase pointer
Originally, the WebIDBDatabase impl pointer was handed off from Chrome
to WebKit in an onSuccess() callback. When "upgradeneeded" support was
added, which fires earlier and needs to deliver the connection object
to script, the same WebIDBDatabase impl pointer was sent in both
onUpgradeNeeded() and onSuccess(). This violates the "pointer is a
transfer of ownership" contract with the API and required
extra plumbing on both sides of the API.
The blink public API has been cleaned up so this is no longer necessary;
don't re-send the pointer in onSuccess() if it was previously sent in
onUpgradeNeeded().
R=alecflett@chromium.org
BUG=234277
Review URL: https://codereview.chromium.org/86053002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/generate_stubs')
0 files changed, 0 insertions, 0 deletions