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

Side by Side Diff: src/core/SkScan_Path.cpp

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase Created 6 years, 3 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/core/SkResourceCache.cpp ('k') | src/core/SkSpriteBlitter_ARGB32.cpp » ('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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 "SkScanPriv.h" 8 #include "SkScanPriv.h"
9 #include "SkBlitter.h" 9 #include "SkBlitter.h"
10 #include "SkEdge.h" 10 #include "SkEdge.h"
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 if (clip.isBW()) { 720 if (clip.isBW()) {
721 clipRgn = &clip.bwRgn(); 721 clipRgn = &clip.bwRgn();
722 } else { 722 } else {
723 wrap.init(clip, blitter); 723 wrap.init(clip, blitter);
724 clipRgn = &wrap.getRgn(); 724 clipRgn = &wrap.getRgn();
725 blitter = wrap.getBlitter(); 725 blitter = wrap.getBlitter();
726 } 726 }
727 727
728 SkScanClipper clipper(blitter, clipRgn, ir); 728 SkScanClipper clipper(blitter, clipRgn, ir);
729 blitter = clipper.getBlitter(); 729 blitter = clipper.getBlitter();
730 if (NULL != blitter) { 730 if (blitter) {
731 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir); 731 sk_fill_triangle(pts, clipper.getClipRect(), blitter, ir);
732 } 732 }
733 } 733 }
OLDNEW
« no previous file with comments | « src/core/SkResourceCache.cpp ('k') | src/core/SkSpriteBlitter_ARGB32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698