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

Side by Side Diff: src/utils/android/SkAndroidSDKCanvas.cpp

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 | « src/utils/SkDeferredCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.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 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkAndroidSDKCanvas.h" 8 #include "SkAndroidSDKCanvas.h"
9 9
10 #include "SkColorFilter.h" 10 #include "SkColorFilter.h"
11 #include "SkPaint.h"
12 #include "SkPathEffect.h" 11 #include "SkPathEffect.h"
13 #include "SkShader.h" 12 #include "SkShader.h"
14 #include "SkTLazy.h"
15 13
16 namespace { 14 namespace {
17 15
18 /** Discard SkShaders not exposed by the Android Java API. */ 16 /** Discard SkShaders not exposed by the Android Java API. */
19 17
20 void CheckShader(SkPaint* paint) { 18 void CheckShader(SkPaint* paint) {
21 SkShader* shader = paint->getShader(); 19 SkShader* shader = paint->getShader();
22 if (!shader) { 20 if (!shader) {
23 return; 21 return;
24 } 22 }
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 fProxyTarget->clipPath(path, op, style); 341 fProxyTarget->clipPath(path, op, style);
344 } 342 }
345 343
346 void SkAndroidSDKCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) { 344 void SkAndroidSDKCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) {
347 fProxyTarget->clipRegion(region, op); 345 fProxyTarget->clipRegion(region, op);
348 } 346 }
349 347
350 void SkAndroidSDKCanvas::onDiscard() { fProxyTarget->discard(); } 348 void SkAndroidSDKCanvas::onDiscard() { fProxyTarget->discard(); }
351 349
352 350
OLDNEW
« no previous file with comments | « src/utils/SkDeferredCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698