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

Unified Diff: chrome/browser/extensions/extension_disabled_ui_browsertest.cc

Issue 996213005: Don't crash when trying to create an ExtensionSyncData from invalid SyncData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 9 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: chrome/browser/extensions/extension_disabled_ui_browsertest.cc
diff --git a/chrome/browser/extensions/extension_disabled_ui_browsertest.cc b/chrome/browser/extensions/extension_disabled_ui_browsertest.cc
index c3cd1097d536a4d17cab65fa3a7a36831f0e4f8f..ca09c231e0ea8467db4962d72c78dc5e5175341a 100644
--- a/chrome/browser/extensions/extension_disabled_ui_browsertest.cc
+++ b/chrome/browser/extensions/extension_disabled_ui_browsertest.cc
@@ -238,7 +238,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionDisabledGlobalErrorTest, RemoteInstall) {
syncer::AttachmentServiceProxy());
// Sync is installing a new extension, so it pends.
EXPECT_FALSE(sync_service->ProcessExtensionSyncData(
- extensions::ExtensionSyncData(sync_data)));
+ *extensions::ExtensionSyncData::CreateFromSyncData(sync_data)));
WaitForExtensionInstall();
content::RunAllBlockingPoolTasksUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698