WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
124597
Consolidate IDBBackingStore*Interface and IDBBackingStore*LevelDB
https://bugs.webkit.org/show_bug.cgi?id=124597
Summary
Consolidate IDBBackingStore*Interface and IDBBackingStore*LevelDB
Brady Eidson
Reported
2013-11-19 12:26:45 PST
Consolidate IDBBackingStore*Interface and IDBBackingStore*LevelDB There's no longer a need for the Interface abstractions, as the LevelDB implementations will be the only ones.
Attachments
Patch v1
(61.74 KB, patch)
2013-11-19 12:39 PST
,
Brady Eidson
ap
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2013-11-19 12:39:01 PST
Created
attachment 217319
[details]
Patch v1
WebKit Commit Bot
Comment 2
2013-11-19 12:40:11 PST
Attachment 217319
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/Modules/indexeddb/IDBBackingStoreCursorInterface.h', u'Source/WebCore/Modules/indexeddb/IDBBackingStoreInterface.h', u'Source/WebCore/Modules/indexeddb/IDBBackingStoreTransactionInterface.h', u'Source/WebCore/Modules/indexeddb/IDBServerConnection.h', u'Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.h', u'Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp', u'Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h', u'Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreTransactionLevelDB.h', u'Source/WebCore/Modules/indexeddb/leveldb/IDBIndexWriterLevelDB.cpp', u'Source/WebCore/Modules/indexeddb/leveldb/IDBIndexWriterLevelDB.h', u'Source/WebCore/Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.cpp', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj']" exit_code: 1 Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:545: Extra space before ( in function call [whitespace/parens] [4] Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:663: Extra space before ( in function call [whitespace/parens] [4] Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:79: Extra space before ( in function call [whitespace/parens] [4] Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:80: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 4 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 3
2013-11-19 12:42:51 PST
Comment on
attachment 217319
[details]
Patch v1 View in context:
https://bugs.webkit.org/attachment.cgi?id=217319&action=review
> Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.h:60 > + virtual PassRefPtr<IDBKey> key() const { return m_currentKey; }
Why PassRefPtr?!
> Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.h:68 > + virtual PassRefPtr<IDBKey> primaryKey() const { return m_currentKey; } > + virtual PassRefPtr<SharedBuffer> value() const = 0;
Ditto.
Brady Eidson
Comment 4
2013-11-19 12:54:01 PST
(In reply to
comment #3
)
> (From update of
attachment 217319
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=217319&action=review
> > > Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.h:60 > > + virtual PassRefPtr<IDBKey> key() const { return m_currentKey; } > > Why PassRefPtr?! > > > Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.h:68 > > + virtual PassRefPtr<IDBKey> primaryKey() const { return m_currentKey; } > > + virtual PassRefPtr<SharedBuffer> value() const = 0; > > Ditto.
Great question - It always was from the original LevelDB implementors, and I think it was just wrong. Not sure i should change it, though, without the ability to test.
Brady Eidson
Comment 5
2013-11-19 13:21:32 PST
http://trac.webkit.org/changeset/159517
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug