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

Side by Side Diff: debugger/SkDebugger.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 | « debugger/QT/SkRasterWidget.cpp ('k') | debugger/SkDebugger.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SKDEBUGGER_H_ 10 #ifndef SKDEBUGGER_H_
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 const SkMatrix& getCurrentMatrix() { 80 const SkMatrix& getCurrentMatrix() {
81 return fDebugCanvas->getCurrentMatrix(); 81 return fDebugCanvas->getCurrentMatrix();
82 } 82 }
83 83
84 const SkIRect& getCurrentClip() { 84 const SkIRect& getCurrentClip() {
85 return fDebugCanvas->getCurrentClip(); 85 return fDebugCanvas->getCurrentClip();
86 } 86 }
87 87
88 SkRect pictureCull() const { 88 SkRect pictureCull() const {
89 return NULL == fPicture ? SkRect::MakeEmpty() : fPicture->cullRect(); 89 return nullptr == fPicture ? SkRect::MakeEmpty() : fPicture->cullRect();
90 } 90 }
91 91
92 int index() { 92 int index() {
93 return fIndex; 93 return fIndex;
94 } 94 }
95 95
96 void setOverdrawViz(bool overDrawViz) { 96 void setOverdrawViz(bool overDrawViz) {
97 if (fDebugCanvas) { 97 if (fDebugCanvas) {
98 fDebugCanvas->setOverdrawViz(overDrawViz); 98 fDebugCanvas->setOverdrawViz(overDrawViz);
99 } 99 }
(...skipping 24 matching lines...) Expand all
124 124
125 private: 125 private:
126 SkDebugCanvas* fDebugCanvas; 126 SkDebugCanvas* fDebugCanvas;
127 SkPicture* fPicture; 127 SkPicture* fPicture;
128 128
129 int fIndex; 129 int fIndex;
130 }; 130 };
131 131
132 132
133 #endif /* SKDEBUGGER_H_ */ 133 #endif /* SKDEBUGGER_H_ */
OLDNEW
« no previous file with comments | « debugger/QT/SkRasterWidget.cpp ('k') | debugger/SkDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698