| Index: cc/layers/video_layer_impl.cc
|
| diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc
|
| index 5e3739728a2e8d5328236a1b7e097bbba6dc1b9c..39f549222ae16e99be79d8e45a0b327053be4e2e 100644
|
| --- a/cc/layers/video_layer_impl.cc
|
| +++ b/cc/layers/video_layer_impl.cc
|
| @@ -41,7 +41,9 @@ scoped_ptr<VideoLayerImpl> VideoLayerImpl::Create(
|
| VideoLayerImpl::VideoLayerImpl(LayerTreeImpl* tree_impl,
|
| int id,
|
| media::VideoRotation video_rotation)
|
| - : LayerImpl(tree_impl, id), frame_(NULL), video_rotation_(video_rotation) {
|
| + : LayerImpl(tree_impl, id),
|
| + frame_(nullptr),
|
| + video_rotation_(video_rotation) {
|
| }
|
|
|
| VideoLayerImpl::~VideoLayerImpl() {
|
| @@ -351,7 +353,7 @@ void VideoLayerImpl::DidDraw(ResourceProvider* resource_provider) {
|
| }
|
|
|
| provider_client_impl_->PutCurrentFrame(frame_);
|
| - frame_ = NULL;
|
| + frame_ = nullptr;
|
|
|
| provider_client_impl_->ReleaseLock();
|
| }
|
|
|