| Index: chrome/browser/sync/syncable/syncable.cc
|
| diff --git a/chrome/browser/sync/syncable/syncable.cc b/chrome/browser/sync/syncable/syncable.cc
|
| index 99cc2ba2a77c73461f6efe789dfc6464d13ba8ab..ae6d2b21c6f5c23af732b214063c7851b9f94e07 100644
|
| --- a/chrome/browser/sync/syncable/syncable.cc
|
| +++ b/chrome/browser/sync/syncable/syncable.cc
|
| @@ -1004,6 +1004,15 @@ BaseTransaction::BaseTransaction(Directory* directory, const char* name,
|
| Lock();
|
| }
|
|
|
| +BaseTransaction::BaseTransaction(Directory* directory) :
|
| + source_file_(NULL),
|
| + name_(NULL),
|
| + line_(NULL),
|
| + writer_(INVALID),
|
| + dirkernel_(NULL),
|
| + directory_(directory) {
|
| +}
|
| +
|
| BaseTransaction::~BaseTransaction() {}
|
|
|
| void BaseTransaction::UnlockAndLog(OriginalEntries* originals_arg) {
|
| @@ -1098,6 +1107,11 @@ WriteTransaction::WriteTransaction(const ScopedDirLookup& scoped_dir,
|
| originals_(new OriginalEntries) {
|
| }
|
|
|
| +WriteTransaction::WriteTransaction(Directory *directory) :
|
| + BaseTransaction(directory),
|
| + originals_(new OriginalEntries) {
|
| +}
|
| +
|
| void WriteTransaction::SaveOriginal(EntryKernel* entry) {
|
| if (NULL == entry)
|
| return;
|
|
|