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

Side by Side Diff: cc/playback/drawing_display_item.h

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 unified diff | Download patch
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/playback/filter_display_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_PLAYBACK_DRAWING_DISPLAY_ITEM_H_ 5 #ifndef CC_PLAYBACK_DRAWING_DISPLAY_ITEM_H_
6 #define CC_PLAYBACK_DRAWING_DISPLAY_ITEM_H_ 6 #define CC_PLAYBACK_DRAWING_DISPLAY_ITEM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include <memory>
11
11 #include "cc/base/cc_export.h" 12 #include "cc/base/cc_export.h"
12 #include "cc/playback/display_item.h" 13 #include "cc/playback/display_item.h"
13 #include "third_party/skia/include/core/SkRefCnt.h" 14 #include "third_party/skia/include/core/SkRefCnt.h"
14 #include "ui/gfx/geometry/point_f.h" 15 #include "ui/gfx/geometry/point_f.h"
15 16
16 class SkCanvas; 17 class SkCanvas;
17 class SkPicture; 18 class SkPicture;
18 19
19 namespace cc { 20 namespace cc {
20 class ImageSerializationProcessor; 21 class ImageSerializationProcessor;
(...skipping 25 matching lines...) Expand all
46 47
47 private: 48 private:
48 void SetNew(sk_sp<const SkPicture> picture); 49 void SetNew(sk_sp<const SkPicture> picture);
49 50
50 sk_sp<const SkPicture> picture_; 51 sk_sp<const SkPicture> picture_;
51 }; 52 };
52 53
53 } // namespace cc 54 } // namespace cc
54 55
55 #endif // CC_PLAYBACK_DRAWING_DISPLAY_ITEM_H_ 56 #endif // CC_PLAYBACK_DRAWING_DISPLAY_ITEM_H_
OLDNEW
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/playback/filter_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698