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

Unified Diff: cc/blink/scrollbar_impl.cc

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: 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
« no previous file with comments | « cc/blink/scrollbar_impl.h ('k') | cc/blink/test/cc_blink_test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/scrollbar_impl.cc
diff --git a/cc/blink/scrollbar_impl.cc b/cc/blink/scrollbar_impl.cc
index 6f5fe31d12de71d09f44cd1c65eb37d5e1999fae..5df7cfe45ec67f474839eed124a7e5537ae131ab 100644
--- a/cc/blink/scrollbar_impl.cc
+++ b/cc/blink/scrollbar_impl.cc
@@ -13,9 +13,9 @@ using blink::WebScrollbar;
namespace cc_blink {
ScrollbarImpl::ScrollbarImpl(
- scoped_ptr<WebScrollbar> scrollbar,
+ std::unique_ptr<WebScrollbar> scrollbar,
blink::WebScrollbarThemePainter painter,
- scoped_ptr<blink::WebScrollbarThemeGeometry> geometry)
+ std::unique_ptr<blink::WebScrollbarThemeGeometry> geometry)
: scrollbar_(std::move(scrollbar)),
painter_(painter),
geometry_(std::move(geometry)) {}
« no previous file with comments | « cc/blink/scrollbar_impl.h ('k') | cc/blink/test/cc_blink_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698