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

Unified Diff: cc/layers/video_layer_impl.h

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 | « no previous file | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl.h
diff --git a/cc/layers/video_layer_impl.h b/cc/layers/video_layer_impl.h
index 5e99923b1278f4bd61507cc663fca2459253d16a..0a617985b4d8f29482fe6de3ee15ee384c85d710 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;
« no previous file with comments | « no previous file | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698