Summary: | Modern IDB: Have IDBServerOperations know whether they represent an open or delete request | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
Component: | WebCore Misc. | Assignee: | Brady Eidson <beidson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, alecflett, commit-queue, jsbell | ||||
Priority: | P2 | ||||||
Version: | Safari 9 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 149117 | ||||||
Attachments: |
|
Description
Brady Eidson
2015-12-16 12:12:11 PST
Created attachment 267479 [details]
Patch v1
Comment on attachment 267479 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=267479&action=review > Source/WebCore/Modules/indexeddb/client/IDBOpenDBRequestImpl.cpp:58 > + m_requestType = requestType; m_requestType(requestType) > Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:254 > + auto operation = m_currentOperation; > + m_currentOperation = nullptr; WTF::move (In reply to comment #2) > Comment on attachment 267479 [details] > Patch v1 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=267479&action=review > > > Source/WebCore/Modules/indexeddb/client/IDBOpenDBRequestImpl.cpp:58 > > + m_requestType = requestType; > > m_requestType(requestType) m_requestType belongs to the super class, so the subclass can't initialize it directly. > > > Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:254 > > + auto operation = m_currentOperation; > > + m_currentOperation = nullptr; > > WTF::move Will-do |