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

Side by Side Diff: skia/ext/analysis_canvas.cc

Issue 2623913002: remove unneeded include, plus SkDraw.h is going private (Closed)
Patch Set: Created 3 years, 11 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "base/trace_event/trace_event.h" 6 #include "base/trace_event/trace_event.h"
7 #include "skia/ext/analysis_canvas.h" 7 #include "skia/ext/analysis_canvas.h"
8 #include "third_party/skia/include/core/SkDraw.h"
9 #include "third_party/skia/include/core/SkPath.h" 8 #include "third_party/skia/include/core/SkPath.h"
10 #include "third_party/skia/include/core/SkRRect.h" 9 #include "third_party/skia/include/core/SkRRect.h"
11 #include "third_party/skia/include/core/SkShader.h" 10 #include "third_party/skia/include/core/SkShader.h"
12 11
13 namespace { 12 namespace {
14 13
15 const int kNoLayer = -1; 14 const int kNoLayer = -1;
16 15
17 bool ActsLikeClear(SkBlendMode mode, unsigned src_alpha) { 16 bool ActsLikeClear(SkBlendMode mode, unsigned src_alpha) {
18 switch (mode) { 17 switch (mode) {
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 force_not_transparent_stack_level_ = kNoLayer; 506 force_not_transparent_stack_level_ = kNoLayer;
508 } 507 }
509 } 508 }
510 509
511 INHERITED::willRestore(); 510 INHERITED::willRestore();
512 } 511 }
513 512
514 } // namespace skia 513 } // namespace skia
515 514
516 515
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