summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cc/layers/video_layer_impl.cc2
-rw-r--r--cc/layers/video_layer_impl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc
index c43f027..2bbf1a2 100644
--- a/cc/layers/video_layer_impl.cc
+++ b/cc/layers/video_layer_impl.cc
@@ -43,7 +43,7 @@ scoped_ptr<VideoLayerImpl> VideoLayerImpl::Create(
VideoLayerImpl::VideoLayerImpl(
LayerTreeImpl* tree_impl,
int id,
- scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl,
+ const scoped_refptr<VideoFrameProviderClientImpl>& provider_client_impl,
media::VideoRotation video_rotation)
: LayerImpl(tree_impl, id),
provider_client_impl_(provider_client_impl),
diff --git a/cc/layers/video_layer_impl.h b/cc/layers/video_layer_impl.h
index 5e99923..0a61798 100644
--- a/cc/layers/video_layer_impl.h
+++ b/cc/layers/video_layer_impl.h
@@ -48,7 +48,7 @@ class CC_EXPORT VideoLayerImpl : public LayerImpl {
VideoLayerImpl(
LayerTreeImpl* tree_impl,
int id,
- scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl,
+ const scoped_refptr<VideoFrameProviderClientImpl>& provider_client_impl,
media::VideoRotation video_rotation);
const char* LayerTypeAsString() const override;