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

Side by Side Diff: cc/layers/picture_image_layer.h

Issue 1939143002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad rebase Created 4 years, 7 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/layers/painted_scrollbar_layer.cc ('k') | cc/playback/discardable_image_map.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_LAYERS_PICTURE_IMAGE_LAYER_H_ 5 #ifndef CC_LAYERS_PICTURE_IMAGE_LAYER_H_
6 #define CC_LAYERS_PICTURE_IMAGE_LAYER_H_ 6 #define CC_LAYERS_PICTURE_IMAGE_LAYER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "cc/layers/content_layer_client.h" 12 #include "cc/layers/content_layer_client.h"
13 #include "cc/layers/picture_layer.h" 13 #include "cc/layers/picture_layer.h"
14 #include "skia/ext/refptr.h"
15 #include "third_party/skia/include/core/SkRefCnt.h" 14 #include "third_party/skia/include/core/SkRefCnt.h"
16 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
17 16
18 class SkImage; 17 class SkImage;
19 18
20 namespace cc { 19 namespace cc {
21 20
22 class CC_EXPORT PictureImageLayer : public PictureLayer, ContentLayerClient { 21 class CC_EXPORT PictureImageLayer : public PictureLayer, ContentLayerClient {
23 public: 22 public:
24 static scoped_refptr<PictureImageLayer> Create(); 23 static scoped_refptr<PictureImageLayer> Create();
(...skipping 19 matching lines...) Expand all
44 ~PictureImageLayer() override; 43 ~PictureImageLayer() override;
45 44
46 sk_sp<const SkImage> image_; 45 sk_sp<const SkImage> image_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(PictureImageLayer); 47 DISALLOW_COPY_AND_ASSIGN(PictureImageLayer);
49 }; 48 };
50 49
51 } // namespace cc 50 } // namespace cc
52 51
53 #endif // CC_LAYERS_PICTURE_IMAGE_LAYER_H_ 52 #endif // CC_LAYERS_PICTURE_IMAGE_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/painted_scrollbar_layer.cc ('k') | cc/playback/discardable_image_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698