Chromium Code Reviews| 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; |