| Index: chrome/browser/sync/glue/session_change_processor.cc
|
| diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc
|
| index 16dfc2806492bab9d4db42e17955d6ee0d53a6da..b4dd8bf91c6233f1ab497856dfaeea0f4bfeecc4 100644
|
| --- a/chrome/browser/sync/glue/session_change_processor.cc
|
| +++ b/chrome/browser/sync/glue/session_change_processor.cc
|
| @@ -269,7 +269,7 @@ void SessionChangeProcessor::ApplyChangesFromSyncModel(
|
| ScopedStopObserving<SessionChangeProcessor> stop_observing(this);
|
|
|
| sync_api::ReadNode root(trans);
|
| - if (!root.InitByTagLookup(kSessionsTag)) {
|
| + if (root.InitByTagLookup(kSessionsTag) != sync_api::BaseNode::INIT_OK) {
|
| error_handler()->OnUnrecoverableError(FROM_HERE,
|
| "Sessions root node lookup failed.");
|
| return;
|
| @@ -302,7 +302,7 @@ void SessionChangeProcessor::ApplyChangesFromSyncModel(
|
|
|
| // Handle an update or add.
|
| sync_api::ReadNode sync_node(trans);
|
| - if (!sync_node.InitByIdLookup(change.id)) {
|
| + if (sync_node.InitByIdLookup(change.id) != sync_api::BaseNode::INIT_OK) {
|
| error_handler()->OnSingleDatatypeUnrecoverableError(FROM_HERE,
|
| "Session node lookup failed.");
|
| return;
|
|
|