[webkit-reviews] review granted: [Bug 109972] IDB Cursor continue moves one item at a time : [Attachment 192767] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 13:19:54 PDT 2013


Tony Chang <tony at chromium.org> has granted Joshua Bell <jsbell at chromium.org>'s
request for review:
Bug 109972: IDB Cursor continue moves one item at a time
https://bugs.webkit.org/show_bug.cgi?id=109972

Attachment 192767: Patch
https://bugs.webkit.org/attachment.cgi?id=192767&action=review

------- Additional Comments from Tony Chang <tony at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=192767&action=review


> Source/WebCore/Modules/indexeddb/IDBBackingStore.cpp:1325
> +	       } else {
> +		   if (forward)
> +		       m_iterator->next();
> +		   else
> +		       m_iterator->prev();
> +	       }

Nit: You could merge the condition into an "else if/else" with the outer if.


More information about the webkit-reviews mailing list