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

Side by Side Diff: src/utils/SkCanvasStack.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « src/utils/SkCanvasStack.h ('k') | src/utils/SkDumpCanvas.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
2 /* 1 /*
3 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 #include "SkCanvasStack.h" 7 #include "SkCanvasStack.h"
9 8
10 SkCanvasStack::SkCanvasStack(int width, int height) 9 SkCanvasStack::SkCanvasStack(int width, int height)
11 : INHERITED(width, height) {} 10 : INHERITED(width, height) {}
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 SkASSERT(fList.count() == fCanvasData.count()); 95 SkASSERT(fList.count() == fCanvasData.count());
97 for (int i = 0; i < fList.count(); ++i) { 96 for (int i = 0; i < fList.count(); ++i) {
98 SkRegion tempRegion; 97 SkRegion tempRegion;
99 deviceRgn.translate(-fCanvasData[i].origin.x(), 98 deviceRgn.translate(-fCanvasData[i].origin.x(),
100 -fCanvasData[i].origin.y(), &tempRegion); 99 -fCanvasData[i].origin.y(), &tempRegion);
101 tempRegion.op(fCanvasData[i].requiredClip, SkRegion::kIntersect_Op); 100 tempRegion.op(fCanvasData[i].requiredClip, SkRegion::kIntersect_Op);
102 fList[i]->clipRegion(tempRegion, op); 101 fList[i]->clipRegion(tempRegion, op);
103 } 102 }
104 this->SkCanvas::onClipRegion(deviceRgn, op); 103 this->SkCanvas::onClipRegion(deviceRgn, op);
105 } 104 }
OLDNEW
« no previous file with comments | « src/utils/SkCanvasStack.h ('k') | src/utils/SkDumpCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698