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

Unified Diff: cc/resources/picture.h

Issue 638353002: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr in src/… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formating. Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 69e32939bcaca0ae9c2838b9b84573d5c1c6dc93..153f1e719dd8f271a9e535bc13c0bd80e5df616f 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -47,7 +47,7 @@ class CC_EXPORT Picture
enum RecordingMode {
RECORD_NORMALLY,
- RECORD_WITH_SK_NULL_CANVAS,
+ RECORD_WITH_SK_nullptr_CANVAS,
danakj 2014/10/10 17:03:22 undo this
RECORD_WITH_PAINTING_DISABLED,
RECORD_WITH_SKRECORD,
RECORDING_MODE_COUNT, // Must be the last entry.
@@ -65,7 +65,7 @@ class CC_EXPORT Picture
gfx::Rect LayerRect() const { return layer_rect_; }
// Has Record() been called yet?
- bool HasRecording() const { return picture_.get() != NULL; }
+ bool HasRecording() const { return picture_.get() != nullptr; }
bool IsSuitableForGpuRasterization() const;
int ApproximateOpCount() const;

Powered by Google App Engine
This is Rietveld 408576698