Chromium Code Reviews| Index: Source/modules/indexeddb/IDBVersionChangeEvent.h |
| diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.h b/Source/modules/indexeddb/IDBVersionChangeEvent.h |
| index 1d000b40ef5746c34c357b0fdedd4537dfc30a42..a60ed3aae2335f276ae6ddb42689821470318785 100644 |
| --- a/Source/modules/indexeddb/IDBVersionChangeEvent.h |
| +++ b/Source/modules/indexeddb/IDBVersionChangeEvent.h |
| @@ -43,6 +43,7 @@ struct IDBVersionChangeEventInit : public EventInit { |
| unsigned long long oldVersion; |
| Nullable<unsigned long long> newVersion; |
| + blink::WebIDBDataLoss dataLoss; |
| }; |
| class IDBVersionChangeEvent FINAL : public Event { |
| @@ -59,6 +60,7 @@ public: |
| { |
| return adoptRefWillBeNoop(new IDBVersionChangeEvent(eventType, initializer)); |
| } |
| + static bool toNativeDataLoss(v8::Handle<v8::Value>, blink::WebIDBDataLoss*); |
|
jsbell
2014/07/11 18:42:48
We shouldn't be passing v8::XXX types in modules/
cmumford
2014/07/11 20:53:05
OK - I'll convert to String or something suitable.
|
| unsigned long long oldVersion() const { return m_oldVersion; } |
| unsigned long long newVersion(bool& isNull) const; |