Index: chrome/browser/extensions/settings/setting_sync_data.cc |
diff --git a/chrome/browser/extensions/settings/setting_sync_data.cc b/chrome/browser/extensions/settings/setting_sync_data.cc |
index 68e62876b1709e1078de07fef5376762c6a3a0b3..43db227d3c8ddcafdeb41d459a8526d8cdbea0ac 100644 |
--- a/chrome/browser/extensions/settings/setting_sync_data.cc |
+++ b/chrome/browser/extensions/settings/setting_sync_data.cc |
@@ -8,6 +8,7 @@ |
#include "base/json/json_writer.h" |
#include "chrome/browser/sync/api/sync_data.h" |
#include "chrome/browser/sync/protocol/extension_setting_specifics.pb.h" |
+#include "chrome/browser/sync/protocol/sync.pb.h" |
namespace extensions { |
@@ -25,7 +26,7 @@ void SettingSyncData::Init( |
SyncChange::SyncChangeType change_type, const SyncData& sync_data) { |
DCHECK(!internal_.get()); |
sync_pb::ExtensionSettingSpecifics specifics = |
- sync_data.GetSpecifics().GetExtension(sync_pb::extension_setting); |
+ sync_data.GetSpecifics().extension_setting(); |
Value* value = |
base::JSONReader().JsonToValue(specifics.value(), false, false); |
if (!value) { |