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

Unified Diff: cc/blink/web_scrollbar_layer_impl.h

Issue 2389973002: Use std::unique_ptr to signal ownership transfer in WebCompositorSupport (Closed)
Patch Set: rebase Created 4 years, 2 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: cc/blink/web_scrollbar_layer_impl.h
diff --git a/cc/blink/web_scrollbar_layer_impl.h b/cc/blink/web_scrollbar_layer_impl.h
index 0239b413d6f89e0f15d6cefa8db1f91f68c0e043..3fd192efe843a23ffd95256e4858bdc4c6deac55 100644
--- a/cc/blink/web_scrollbar_layer_impl.h
+++ b/cc/blink/web_scrollbar_layer_impl.h
@@ -24,9 +24,9 @@ class WebLayerImpl;
class WebScrollbarLayerImpl : public blink::WebScrollbarLayer {
public:
CC_BLINK_EXPORT WebScrollbarLayerImpl(
- blink::WebScrollbar* scrollbar,
+ std::unique_ptr<blink::WebScrollbar> scrollbar,
blink::WebScrollbarThemePainter painter,
- blink::WebScrollbarThemeGeometry* geometry);
+ std::unique_ptr<blink::WebScrollbarThemeGeometry> geometry);
CC_BLINK_EXPORT WebScrollbarLayerImpl(
blink::WebScrollbar::Orientation orientation,
int thumb_thickness,

Powered by Google App Engine
This is Rietveld 408576698