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

Unified Diff: chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/cocoa/tabs/alert_indicator_button_cocoa.h
diff --git a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h
index fe0624676fc3fccb3070c9a0da433fb579133974..c17583ed2b1a77431a9a60251a3ac6d65e3adb0e 100644
--- a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h
+++ b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_COCOA_TABS_ALERT_INDICATOR_BUTTON_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_TABS_ALERT_INDICATOR_BUTTON_COCOA_H_
+#include <memory>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/tabs/tab_utils.h"
#import "ui/base/cocoa/hover_button.h"
@@ -36,8 +37,8 @@ class AnimationDelegate;
// Alert indicator fade-in/out animation (i.e., only on show/hide, not a
// continuous animation).
- scoped_ptr<gfx::AnimationDelegate> fadeAnimationDelegate_;
- scoped_ptr<gfx::Animation> fadeAnimation_;
+ std::unique_ptr<gfx::AnimationDelegate> fadeAnimationDelegate_;
+ std::unique_ptr<gfx::Animation> fadeAnimation_;
TabAlertState showingAlertState_;
// Target and action invoked whenever a fade-in/out animation completes. This
« no previous file with comments | « chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698