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

Unified Diff: cc/video_layer_impl.h

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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/video_layer.cc ('k') | cc/video_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/video_layer_impl.h
diff --git a/cc/video_layer_impl.h b/cc/video_layer_impl.h
index 59a0ca1a95591220ad7ae40115c7afa65dceea43..00ab57f683cd21fdc96c51985abb094b44ae17ac 100644
--- a/cc/video_layer_impl.h
+++ b/cc/video_layer_impl.h
@@ -34,10 +34,10 @@ class CC_EXPORT VideoLayerImpl : public LayerImpl
public:
typedef base::Callback<media::VideoFrame* (WebKit::WebVideoFrame*)> FrameUnwrapper;
- static scoped_ptr<VideoLayerImpl> create(int id, WebKit::WebVideoFrameProvider* provider,
+ static scoped_ptr<VideoLayerImpl> create(LayerTreeHostImpl* hostImpl, int id, WebKit::WebVideoFrameProvider* provider,
const FrameUnwrapper& unwrapper)
{
- return make_scoped_ptr(new VideoLayerImpl(id, provider, unwrapper));
+ return make_scoped_ptr(new VideoLayerImpl(hostImpl, id, provider, unwrapper));
}
virtual ~VideoLayerImpl();
@@ -66,7 +66,7 @@ public:
};
private:
- VideoLayerImpl(int, WebKit::WebVideoFrameProvider*, const FrameUnwrapper&);
+ VideoLayerImpl(LayerTreeHostImpl*, int, WebKit::WebVideoFrameProvider*, const FrameUnwrapper&);
virtual const char* layerTypeAsString() const OVERRIDE;
« no previous file with comments | « cc/video_layer.cc ('k') | cc/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698