| Index: content/common/gpu/media/v4l2_video_device.cc
|
| diff --git a/content/common/gpu/media/v4l2_video_device.cc b/content/common/gpu/media/v4l2_video_device.cc
|
| index f62e264d806e3eb63925861368842434b5dedd65..58b935a4008fc6d8e9d14a7df5fc372f294edcbe 100644
|
| --- a/content/common/gpu/media/v4l2_video_device.cc
|
| +++ b/content/common/gpu/media/v4l2_video_device.cc
|
| @@ -18,11 +18,11 @@ scoped_ptr<V4L2Device> V4L2Device::Create(Type type) {
|
|
|
| scoped_ptr<ExynosV4L2Device> exynos_device(new ExynosV4L2Device(type));
|
| if (exynos_device->Initialize())
|
| - return exynos_device.PassAs<V4L2Device>();
|
| + return exynos_device.Pass();
|
|
|
| scoped_ptr<TegraV4L2Device> tegra_device(new TegraV4L2Device(type));
|
| if (tegra_device->Initialize())
|
| - return tegra_device.PassAs<V4L2Device>();
|
| + return tegra_device.Pass();
|
|
|
| LOG(ERROR) << "Failed to create V4L2Device";
|
| return scoped_ptr<V4L2Device>();
|
|
|