Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Unified Diff: cc/layers/video_layer_impl.cc

Issue 1039783002: cc: Use const ref to avoid extra ref count of VideoProviderClientImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/video_layer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl.cc
diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc
index c43f02792bcc9ab0011ae9148e151d294fe81322..2bbf1a247ab7a9fbc63cb63cd553ad61c49befd0 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),
« no previous file with comments | « cc/layers/video_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698