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

Unified Diff: content/browser/indexed_db/leveldb/leveldb_write_batch.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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
Index: content/browser/indexed_db/leveldb/leveldb_write_batch.cc
diff --git a/content/browser/indexed_db/leveldb/leveldb_write_batch.cc b/content/browser/indexed_db/leveldb/leveldb_write_batch.cc
index 80861c46b86d14cdc23c271fa042953d2efd7922..db658ebe024ad60f89ba3846133b9bf3cc910a4a 100644
--- a/content/browser/indexed_db/leveldb/leveldb_write_batch.cc
+++ b/content/browser/indexed_db/leveldb/leveldb_write_batch.cc
@@ -20,17 +20,17 @@ LevelDBWriteBatch::LevelDBWriteBatch()
LevelDBWriteBatch::~LevelDBWriteBatch() {}
-static leveldb::Slice MakeSlice(const base::StringPiece& s) {
+static leveldb::Slice MakeSliceFoo(const base::StringPiece& s) {
return leveldb::Slice(s.begin(), s.size());
}
void LevelDBWriteBatch::Put(const base::StringPiece& key,
const base::StringPiece& value) {
- write_batch_->Put(MakeSlice(key), MakeSlice(value));
+ write_batch_->Put(MakeSliceFoo(key), MakeSliceFoo(value));
}
void LevelDBWriteBatch::Remove(const base::StringPiece& key) {
- write_batch_->Delete(MakeSlice(key));
+ write_batch_->Delete(MakeSliceFoo(key));
}
void LevelDBWriteBatch::Clear() { write_batch_->Clear(); }
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_database.cc ('k') | content/browser/keyboard_lock/keyboard_lock_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698