From dd8bb3de4f353a81954234999f1fea748aee2ea9 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Wed, 11 Aug 2010 14:44:44 +0100 Subject: Merge WebKit at r65072 : Initial merge by git. Change-Id: Ibcf418498376b2660aacb7f8d46ea7085ef91585 --- WebKit/chromium/src/WebIDBObjectStoreImpl.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'WebKit/chromium/src/WebIDBObjectStoreImpl.cpp') diff --git a/WebKit/chromium/src/WebIDBObjectStoreImpl.cpp b/WebKit/chromium/src/WebIDBObjectStoreImpl.cpp index 7b6a32a..1ad1d9f 100755 --- a/WebKit/chromium/src/WebIDBObjectStoreImpl.cpp +++ b/WebKit/chromium/src/WebIDBObjectStoreImpl.cpp @@ -28,9 +28,11 @@ #include "DOMStringList.h" #include "IDBCallbacksProxy.h" -#include "IDBObjectStore.h" +#include "IDBKeyRange.h" +#include "IDBObjectStoreBackendInterface.h" #include "WebIDBIndexImpl.h" #include "WebIDBKey.h" +#include "WebIDBKeyRange.h" #include "WebSerializedScriptValue.h" #if ENABLE(INDEXED_DATABASE) @@ -39,7 +41,7 @@ using namespace WebCore; namespace WebKit { -WebIDBObjectStoreImpl::WebIDBObjectStoreImpl(PassRefPtr objectStore) +WebIDBObjectStoreImpl::WebIDBObjectStoreImpl(PassRefPtr objectStore) : m_objectStore(objectStore) { } @@ -96,6 +98,11 @@ void WebIDBObjectStoreImpl::removeIndex(const WebString& name, WebIDBCallbacks* m_objectStore->removeIndex(name, IDBCallbacksProxy::create(callbacks)); } +void WebIDBObjectStoreImpl::openCursor(const WebIDBKeyRange& keyRange, unsigned short direction, WebIDBCallbacks* callbacks) +{ + m_objectStore->openCursor(IDBKeyRange::create(keyRange.left(), keyRange.right(), keyRange.flags()), direction, IDBCallbacksProxy::create(callbacks)); +} + } // namespace WebCore #endif // ENABLE(INDEXED_DATABASE) -- cgit v1.1