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

Side by Side Diff: tools/PictureRenderingFlags.h

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 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 | « tools/PictureRenderer.cpp ('k') | tools/PictureRenderingFlags.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 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 #ifndef PICTURE_RENDERING_FLAGS 8 #ifndef PICTURE_RENDERING_FLAGS
9 #define PICTURE_RENDERING_FLAGS 9 #define PICTURE_RENDERING_FLAGS
10 10
11 class SkString; 11 class SkString;
12 12
13 namespace sk_tools { 13 namespace sk_tools {
14 class PictureRenderer; 14 class PictureRenderer;
15 } 15 }
16 16
17 enum PictureTool { 17 enum PictureTool {
18 kBench_PictureTool, 18 kBench_PictureTool,
19 kRender_PictureTool, 19 kRender_PictureTool,
20 }; 20 };
21 21
22 /** 22 /**
23 * Uses SkCommandLineFlags to parse the command line, and returns a PictureRend erer 23 * Uses SkCommandLineFlags to parse the command line, and returns a PictureRend erer
24 * reflecting the flags used. Assumes that SkCommandLineFlags::Parse has 24 * reflecting the flags used. Assumes that SkCommandLineFlags::Parse has
25 * been called. 25 * been called.
26 * @param error If there is an error or warning, it will be stored in error. 26 * @param error If there is an error or warning, it will be stored in error.
27 * @param tool Which tool is being used. 27 * @param tool Which tool is being used.
28 * @return PictureRenderer A PictureRenderer with the settings specified 28 * @return PictureRenderer A PictureRenderer with the settings specified
29 * on the command line, or NULL if the command line is invalid. 29 * on the command line, or nullptr if the command line is invalid.
30 */ 30 */
31 sk_tools::PictureRenderer* parseRenderer(SkString& error, PictureTool tool); 31 sk_tools::PictureRenderer* parseRenderer(SkString& error, PictureTool tool);
32 32
33 #endif // PICTURE_RENDERING_FLAGS 33 #endif // PICTURE_RENDERING_FLAGS
OLDNEW
« no previous file with comments | « tools/PictureRenderer.cpp ('k') | tools/PictureRenderingFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698