Index: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
diff --git a/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
index 5f7c4a975935beb0940d7d991b1c6fbdb9716f6f..7e6541f07eee297695d4a4275ae908f33255ac8b 100644 |
--- a/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
+++ b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
@@ -60,6 +60,7 @@ |
#include "platform/JSONValues.h" |
#include "platform/weborigin/SecurityOrigin.h" |
#include "public/platform/WebIDBCursor.h" |
+#include "public/platform/WebIDBTypes.h" |
#include "wtf/Vector.h" |
using WebCore::TypeBuilder::Array; |
@@ -510,9 +511,9 @@ public: |
return; |
} |
- idbRequest = idbIndex->openCursor(scriptState(), m_idbKeyRange.get(), blink::WebIDBCursor::Next); |
+ idbRequest = idbIndex->openCursor(scriptState(), m_idbKeyRange.get(), blink::WebIDBCursorDirectionNext); |
} else { |
- idbRequest = idbObjectStore->openCursor(scriptState(), m_idbKeyRange.get(), blink::WebIDBCursor::Next); |
+ idbRequest = idbObjectStore->openCursor(scriptState(), m_idbKeyRange.get(), blink::WebIDBCursorDirectionNext); |
} |
idbRequest->addEventListener(EventTypeNames::success, openCursorCallback, false); |
} |