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

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

Issue 1288963004: ClearStencilClip in GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tiny 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 | « no previous file | src/gpu/GrBufferedDrawTarget.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 2013 Google Inc. 2 * Copyright 2013 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 "SkString.h" 8 #include "SkString.h"
9 #include "SkStringUtils.h" 9 #include "SkStringUtils.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 while (nextNL >= 0) { 50 while (nextNL >= 0) {
51 if (nextNL > 0) { 51 if (nextNL > 0) {
52 result.append(tabs); 52 result.append(tabs);
53 } 53 }
54 result.append(input, nextNL + 1); 54 result.append(input, nextNL + 1);
55 input += nextNL + 1; 55 input += nextNL + 1;
56 nextNL = SkStrFind(input, newline); 56 nextNL = SkStrFind(input, newline);
57 } 57 }
58 if (*input != '\0') { 58 if (*input != '\0') {
59 result.append(tabs); 59 result.append(tabs);
60 result.append(input);
60 } 61 }
61 result.append(input);
62 return result; 62 return result;
63 } 63 }
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrBufferedDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698