Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp

Issue 10377101: Merge 116333 - IndexedDB: LevelDB coding for bools is broken (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebKit/chromium/tests/IDBLevelDBCodingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp
===================================================================
--- Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp (revision 116704)
+++ Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp (working copy)
@@ -180,7 +180,7 @@
Vector<char> encodeBool(bool b)
{
Vector<char> ret(1);
- ret.append(b ? 1 : 0);
+ ret[0] = b ? 1 : 0;
return ret;
}
« no previous file with comments | « no previous file | Source/WebKit/chromium/tests/IDBLevelDBCodingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698