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

Side by Side Diff: cc/paint/skia_paint_canvas.cc

Issue 2832063002: Fix includes for skia_paint_canvas.cc (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "cc/paint/paint_canvas.h" 5 #include "cc/paint/skia_paint_canvas.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "cc/paint/display_item_list.h" 8 #include "cc/paint/display_item_list.h"
9 #include "cc/paint/paint_record.h"
10 #include "cc/paint/paint_recorder.h" 9 #include "cc/paint/paint_recorder.h"
11 #include "third_party/skia/include/core/SkAnnotation.h" 10 #include "third_party/skia/include/core/SkAnnotation.h"
12 #include "third_party/skia/include/core/SkMetaData.h" 11 #include "third_party/skia/include/core/SkMetaData.h"
13 #include "third_party/skia/include/utils/SkNWayCanvas.h" 12 #include "third_party/skia/include/utils/SkNWayCanvas.h"
14 13
15 namespace cc { 14 namespace cc {
16 15
17 SkiaPaintCanvas::SkiaPaintCanvas(SkCanvas* canvas) : canvas_(canvas) {} 16 SkiaPaintCanvas::SkiaPaintCanvas(SkCanvas* canvas) : canvas_(canvas) {}
18 17
19 SkiaPaintCanvas::SkiaPaintCanvas(const SkBitmap& bitmap) 18 SkiaPaintCanvas::SkiaPaintCanvas(const SkBitmap& bitmap)
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 break; 295 break;
297 case AnnotationType::NAMED_DESTINATION: { 296 case AnnotationType::NAMED_DESTINATION: {
298 SkPoint point = SkPoint::Make(rect.x(), rect.y()); 297 SkPoint point = SkPoint::Make(rect.x(), rect.y());
299 SkAnnotateNamedDestination(canvas_, point, data.get()); 298 SkAnnotateNamedDestination(canvas_, point, data.get());
300 break; 299 break;
301 } 300 }
302 } 301 }
303 } 302 }
304 303
305 } // namespace cc 304 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698