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

Unified Diff: cc/test/fake_content_layer.cc

Issue 85143002: Dirty rects always contain full tiles with delegated rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed broken test due to this patch Created 7 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
Index: cc/test/fake_content_layer.cc
diff --git a/cc/test/fake_content_layer.cc b/cc/test/fake_content_layer.cc
index 56a52cc10c7dd24a51163dc6f9b30586ef6bca30..e5ece64de50db152ba49b778734ee7afc2fd1041 100644
--- a/cc/test/fake_content_layer.cc
+++ b/cc/test/fake_content_layer.cc
@@ -9,6 +9,10 @@
namespace cc {
+gfx::Rect FakeContentLayerUpdater::content_rect() const {
+ return ContentLayerUpdater::content_rect();
+}
+
FakeContentLayer::FakeContentLayer(ContentLayerClient* client)
: ContentLayer(client),
update_count_(0),
@@ -27,6 +31,10 @@ scoped_ptr<LayerImpl> FakeContentLayer::CreateLayerImpl(
return FakeContentLayerImpl::Create(tree_impl, layer_id_).PassAs<LayerImpl>();
}
+FakeContentLayerUpdater *FakeContentLayer::Updater() const {
+ return (reinterpret_cast<FakeContentLayerUpdater*>(ContentLayer::Updater()));
danakj 2013/12/02 15:06:52 this should be a static_cast, no?
+}
+
bool FakeContentLayer::Update(ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) {
bool updated = ContentLayer::Update(queue, occlusion);

Powered by Google App Engine
This is Rietveld 408576698