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

Side by Side Diff: samplecode/SampleFuzz.cpp

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 | « samplecode/SampleFontScalerTest.cpp ('k') | samplecode/SampleGradients.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 2011 Google Inc. 3 * Copyright 2011 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 #include "SampleCode.h" 8 #include "SampleCode.h"
9 #include "SkView.h" 9 #include "SkView.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 } 376 }
377 return this->INHERITED::onQuery(evt); 377 return this->INHERITED::onQuery(evt);
378 } 378 }
379 379
380 void drawBG(SkCanvas* canvas) { 380 void drawBG(SkCanvas* canvas) {
381 canvas->drawColor(0xFFDDDDDD); 381 canvas->drawColor(0xFFDDDDDD);
382 } 382 }
383 383
384 virtual void onDrawContent(SkCanvas* canvas) { 384 virtual void onDrawContent(SkCanvas* canvas) {
385 do_fuzz(canvas); 385 do_fuzz(canvas);
386 this->inval(NULL); 386 this->inval(nullptr);
387 } 387 }
388 388
389 private: 389 private:
390 typedef SkView INHERITED; 390 typedef SkView INHERITED;
391 }; 391 };
392 392
393 ////////////////////////////////////////////////////////////////////////////// 393 //////////////////////////////////////////////////////////////////////////////
394 394
395 static SkView* MyFactory() { return new FuzzView; } 395 static SkView* MyFactory() { return new FuzzView; }
396 static SkViewRegister reg(MyFactory); 396 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleFontScalerTest.cpp ('k') | samplecode/SampleGradients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698