Index: Source/modules/indexeddb/IDBCursorWithValue.h |
diff --git a/Source/modules/indexeddb/IDBCursorWithValue.h b/Source/modules/indexeddb/IDBCursorWithValue.h |
index 6f22a2f2773b8be039406d17497f42885ad5cf41..bf89431a6895c2f015cc76f8b9628ac509806de3 100644 |
--- a/Source/modules/indexeddb/IDBCursorWithValue.h |
+++ b/Source/modules/indexeddb/IDBCursorWithValue.h |
@@ -29,6 +29,7 @@ |
#include "modules/indexeddb/IDBCursor.h" |
#include "modules/indexeddb/IndexedDB.h" |
#include "public/platform/WebIDBCursor.h" |
+#include "public/platform/WebIDBTypes.h" |
#include "wtf/PassOwnPtr.h" |
namespace WebCore { |
@@ -39,7 +40,7 @@ class IDBTransaction; |
class IDBCursorWithValue FINAL : public IDBCursor { |
public: |
- static IDBCursorWithValue* create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursor::Direction, IDBRequest*, IDBAny* source, IDBTransaction*); |
+ static IDBCursorWithValue* create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*); |
virtual ~IDBCursorWithValue(); |
// The value attribute defined in the IDL is simply implemented in IDBCursor (but not exposed via |
@@ -49,7 +50,7 @@ public: |
virtual bool isCursorWithValue() const OVERRIDE { return true; } |
private: |
- IDBCursorWithValue(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursor::Direction, IDBRequest*, IDBAny* source, IDBTransaction*); |
+ IDBCursorWithValue(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*); |
}; |
DEFINE_TYPE_CASTS(IDBCursorWithValue, IDBCursor, cursor, cursor->isCursorWithValue(), cursor.isCursorWithValue()); |