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

Unified Diff: chrome/browser/extensions/extension_uninstall_dialog.h

Issue 1140053004: [Extensions] Fix crash in extension uninstall dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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_uninstall_dialog.h
diff --git a/chrome/browser/extensions/extension_uninstall_dialog.h b/chrome/browser/extensions/extension_uninstall_dialog.h
index 4a3a32f2381102795dfcd3890dd36e77060f6b24..3f750281dc7e0dfd00d6d531fcaee5ee2f377cd9 100644
--- a/chrome/browser/extensions/extension_uninstall_dialog.h
+++ b/chrome/browser/extensions/extension_uninstall_dialog.h
@@ -91,11 +91,11 @@ class ExtensionUninstallDialog
Delegate* delegate_;
// The extension we are showing the dialog for.
- const Extension* extension_;
+ scoped_refptr<const Extension> extension_;
// The extension triggering the dialog if the dialog was shown by
// chrome.management.uninstall.
- const Extension* triggering_extension_;
+ scoped_refptr<const Extension> triggering_extension_;
// The extensions icon.
gfx::ImageSkia icon_;

Powered by Google App Engine
This is Rietveld 408576698