| Index: cc/layers/video_frame_provider_client_impl_unittest.cc
|
| diff --git a/cc/layers/video_frame_provider_client_impl_unittest.cc b/cc/layers/video_frame_provider_client_impl_unittest.cc
|
| index 4cbd493e0d54aa316e6c478c3ef8312489f6630e..3cc4709d4aae6d6b7eccfac4cef0a512fe42f682 100644
|
| --- a/cc/layers/video_frame_provider_client_impl_unittest.cc
|
| +++ b/cc/layers/video_frame_provider_client_impl_unittest.cc
|
| @@ -18,10 +18,11 @@ namespace cc {
|
| // NOTE: We cannot use DebugScopedSetImplThreadAndMainThreadBlocked in these
|
| // tests because it gets destroyed before the VideoLayerImpl is destroyed. This
|
| // causes a DCHECK in VideoLayerImpl's destructor to fail.
|
| -static void DebugSetImplThreadAndMainThreadBlocked(Proxy* proxy) {
|
| +static void DebugSetImplThreadAndMainThreadBlocked(
|
| + TaskRunnerProvider* task_runner_provider) {
|
| #if DCHECK_IS_ON()
|
| - proxy->SetCurrentThreadIsImplThread(true);
|
| - proxy->SetMainThreadBlocked(true);
|
| + task_runner_provider->SetCurrentThreadIsImplThread(true);
|
| + task_runner_provider->SetMainThreadBlocked(true);
|
| #endif
|
| }
|
|
|
| @@ -36,7 +37,7 @@ class VideoFrameProviderClientImplTest : public testing::Test,
|
| gfx::Rect(10, 10),
|
| gfx::Size(10, 10),
|
| base::TimeDelta())) {
|
| - DebugSetImplThreadAndMainThreadBlocked(impl_.proxy());
|
| + DebugSetImplThreadAndMainThreadBlocked(impl_.task_runner_provider());
|
| }
|
|
|
| ~VideoFrameProviderClientImplTest() {
|
|
|