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

Side by Side Diff: cc/playback/image_hijack_canvas.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/playback/filter_display_item.cc ('k') | cc/proto/image_serialization_processor.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_IMAGE_HIJACK_CANVAS_H_ 5 #ifndef CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_
6 #define CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_ 6 #define CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "third_party/skia/include/core/SkCanvas.h"
10 #include "third_party/skia/include/utils/SkNWayCanvas.h" 9 #include "third_party/skia/include/utils/SkNWayCanvas.h"
11 10
12 namespace cc { 11 namespace cc {
13 12
14 class ImageDecodeController; 13 class ImageDecodeController;
15 14
16 class ImageHijackCanvas : public SkNWayCanvas { 15 class ImageHijackCanvas : public SkNWayCanvas {
17 public: 16 public:
18 ImageHijackCanvas(int width, 17 ImageHijackCanvas(int width,
19 int height, 18 int height,
(...skipping 21 matching lines...) Expand all
41 const SkPaint* paint) override; 40 const SkPaint* paint) override;
42 41
43 ImageDecodeController* image_decode_controller_; 42 ImageDecodeController* image_decode_controller_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(ImageHijackCanvas); 44 DISALLOW_COPY_AND_ASSIGN(ImageHijackCanvas);
46 }; 45 };
47 46
48 } // namespace cc 47 } // namespace cc
49 48
50 #endif // CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_ 49 #endif // CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_
OLDNEW
« no previous file with comments | « cc/playback/filter_display_item.cc ('k') | cc/proto/image_serialization_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698