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

Unified Diff: cc/video_layer_impl.cc

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (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
« no previous file with comments | « cc/tiled_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/video_layer_impl.cc
diff --git a/cc/video_layer_impl.cc b/cc/video_layer_impl.cc
index 5f91b379d603a600744441aed7641ca5feacee43..3ba0b650e4f22361bc975841bf87079720fbd446 100644
--- a/cc/video_layer_impl.cc
+++ b/cc/video_layer_impl.cc
@@ -6,9 +6,10 @@
#include "base/logging.h"
#include "cc/io_surface_draw_quad.h"
-#include "cc/layer_tree_host_impl.h"
+#include "cc/layer_tree_impl.h"
#include "cc/math_util.h"
#include "cc/quad_sink.h"
+#include "cc/renderer.h"
#include "cc/resource_provider.h"
#include "cc/stream_video_draw_quad.h"
#include "cc/texture_draw_quad.h"
@@ -51,7 +52,7 @@ VideoLayerImpl::~VideoLayerImpl()
m_provider->setVideoFrameProviderClient(0);
m_provider = 0;
}
- freePlaneData(layerTreeHostImpl()->resourceProvider());
+ freePlaneData(layerTreeImpl()->resource_provider());
#ifndef NDEBUG
for (size_t i = 0; i < media::VideoFrame::kMaxPlanes; ++i)
@@ -412,12 +413,12 @@ void VideoLayerImpl::didUpdateMatrix(const float matrix[16])
void VideoLayerImpl::didLoseOutputSurface()
{
- freePlaneData(layerTreeHostImpl()->resourceProvider());
+ freePlaneData(layerTreeImpl()->resource_provider());
}
void VideoLayerImpl::setNeedsRedraw()
{
- layerTreeHostImpl()->setNeedsRedraw();
+ layerTreeImpl()->SetNeedsRedraw();
}
const char* VideoLayerImpl::layerTypeAsString() const
« no previous file with comments | « cc/tiled_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698