| Index: cc/layers/video_layer_impl.cc
|
| diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc
|
| index fbef0a5bc855939c21c3868c289e52e3ce261586..67cbcafb6eba469ab5af16ede87ca97a7415dad0 100644
|
| --- a/cc/layers/video_layer_impl.cc
|
| +++ b/cc/layers/video_layer_impl.cc
|
| @@ -86,11 +86,11 @@ void VideoLayerImpl::WillDraw(ResourceProvider* resource_provider) {
|
|
|
|
|
| // Explicitly acquire and release the provider mutex so it can be held from
|
| - // willDraw to didDraw. Since the compositor thread is in the middle of
|
| - // drawing, the layer will not be destroyed before didDraw is called.
|
| + // WillDraw to DidDraw. Since the compositor thread is in the middle of
|
| + // drawing, the layer will not be destroyed before DidDraw is called.
|
| // Therefore, the only thing that will prevent this lock from being released
|
| // is the GPU process locking it. As the GPU process can't cause the
|
| - // destruction of the provider (calling stopUsingProvider), holding this
|
| + // destruction of the provider (calling StopUsingProvider), holding this
|
| // lock should not cause a deadlock.
|
| frame_ = provider_client_impl_->AcquireLockAndCurrentFrame();
|
|
|
|
|