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

Unified Diff: chrome/browser/ui/views/tabs/tab.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/views/tabs/tab.h
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
index 6b016da2278de1896aca25a73b773c8e4a08ee3f..accdc108778efac75e8a061c4dd2546bd48d03bf 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -6,12 +6,12 @@
#define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
#include <list>
+#include <memory>
#include <string>
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/views/tabs/tab_renderer_data.h"
#include "ui/base/layout.h"
#include "ui/gfx/animation/animation_delegate.h"
@@ -346,12 +346,12 @@ class Tab : public gfx::AnimationDelegate,
bool should_display_crashed_favicon_;
// Whole-tab throbbing "pulse" animation.
- scoped_ptr<gfx::ThrobAnimation> pulse_animation_;
+ std::unique_ptr<gfx::ThrobAnimation> pulse_animation_;
- scoped_ptr<gfx::MultiAnimation> pinned_title_change_animation_;
+ std::unique_ptr<gfx::MultiAnimation> pinned_title_change_animation_;
// Crash icon animation (in place of favicon).
- scoped_ptr<gfx::LinearAnimation> crash_icon_animation_;
+ std::unique_ptr<gfx::LinearAnimation> crash_icon_animation_;
scoped_refptr<gfx::AnimationContainer> animation_container_;
« no previous file with comments | « chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698