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

Unified Diff: chrome/browser/ui/views/extensions/extension_message_bubble_view.cc

Issue 577523002: Refactoring the WeakPtrFactory initialization in chrome/browser/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved Rebase issues Created 6 years, 3 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/ui/views/extensions/extension_message_bubble_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_message_bubble_view.cc b/chrome/browser/ui/views/extensions/extension_message_bubble_view.cc
index d741779cffa7d82b45c9bee97c9d1a34de763f87..b33beb60edb0bf900cfc313a63b8c207b7e3618d 100644
--- a/chrome/browser/ui/views/extensions/extension_message_bubble_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_message_bubble_view.cc
@@ -62,14 +62,14 @@ ExtensionMessageBubbleView::ExtensionMessageBubbleView(
views::BubbleBorder::Arrow arrow_location,
scoped_ptr<extensions::ExtensionMessageBubbleController> controller)
: BubbleDelegateView(anchor_view, arrow_location),
- weak_factory_(this),
controller_(controller.Pass()),
anchor_view_(anchor_view),
headline_(NULL),
learn_more_(NULL),
dismiss_button_(NULL),
link_clicked_(false),
- action_taken_(false) {
+ action_taken_(false),
+ weak_factory_(this) {
DCHECK(anchor_view->GetWidget());
set_close_on_deactivate(controller_->CloseOnDeactivate());
set_close_on_esc(true);

Powered by Google App Engine
This is Rietveld 408576698