| 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 87578fe5822a930601f4fbe5b47ad59ccb7d496e..8f1491d36f20658d328e54213691f612a2da8639 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
|
| @@ -77,6 +77,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 {
|
| @@ -540,9 +542,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(getScriptState(), std::move(m_requestCallback), m_skipCount, m_pageSize);
|
| idbRequest->addEventListener(EventTypeNames::success, openCursorCallback, false);
|
|
|