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

Unified Diff: cc/video_layer_impl.h

Issue 11519018: [cc] Make LayerImpls point at LayerTreeImpl instead of LTHI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« cc/layer.h ('K') | « 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 00ab57f683cd21fdc96c51985abb094b44ae17ac..9c9605e37894ba937c829438d90827b15cdef099 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(LayerTreeHostImpl* hostImpl, int id, WebKit::WebVideoFrameProvider* provider,
+ static scoped_ptr<VideoLayerImpl> create(LayerTreeImpl* treeImpl, int id, WebKit::WebVideoFrameProvider* provider,
const FrameUnwrapper& unwrapper)
{
- return make_scoped_ptr(new VideoLayerImpl(hostImpl, id, provider, unwrapper));
+ return make_scoped_ptr(new VideoLayerImpl(treeImpl, id, provider, unwrapper));
}
virtual ~VideoLayerImpl();
@@ -66,7 +66,7 @@ public:
};
private:
- VideoLayerImpl(LayerTreeHostImpl*, int, WebKit::WebVideoFrameProvider*, const FrameUnwrapper&);
+ VideoLayerImpl(LayerTreeImpl*, int, WebKit::WebVideoFrameProvider*, const FrameUnwrapper&);
virtual const char* layerTypeAsString() const OVERRIDE;
« cc/layer.h ('K') | « 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