| Index: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
|
| index fcbae0f7c62a29597385420a6420824367c3e476..2e734e2ef5176d97f170c436452b453351084273 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
|
| @@ -76,6 +76,8 @@ typedef blink::protocol::IndexedDB::Backend::RequestDatabaseCallback RequestData
|
| typedef blink::protocol::IndexedDB::Backend::RequestDataCallback RequestDataCallback;
|
| typedef blink::protocol::IndexedDB::Backend::ClearObjectStoreCallback ClearObjectStoreCallback;
|
|
|
| +using indexed_db::mojom::blink::CursorDirection;
|
| +
|
| namespace blink {
|
|
|
| namespace IndexedDBAgentState {
|
| @@ -536,9 +538,9 @@ public:
|
| return;
|
| }
|
|
|
| - idbRequest = idbIndex->openCursor(getScriptState(), m_idbKeyRange.get(), WebIDBCursorDirectionNext);
|
| + idbRequest = idbIndex->openCursor(getScriptState(), m_idbKeyRange.get(), CursorDirection::Next);
|
| } else {
|
| - idbRequest = idbObjectStore->openCursor(getScriptState(), m_idbKeyRange.get(), WebIDBCursorDirectionNext);
|
| + idbRequest = idbObjectStore->openCursor(getScriptState(), m_idbKeyRange.get(), CursorDirection::Next);
|
| }
|
| OpenCursorCallback* openCursorCallback = OpenCursorCallback::create(m_v8Session, getScriptState(), std::move(m_requestCallback), m_skipCount, m_pageSize);
|
| idbRequest->addEventListener(EventTypeNames::success, openCursorCallback, false);
|
|
|