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

Unified Diff: cc/test/fake_content_layer.cc

Issue 567743003: Fix bad scaling in TiledLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk Created 6 years, 3 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 | « cc/resources/skpicture_content_layer_updater.cc ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer.cc
diff --git a/cc/test/fake_content_layer.cc b/cc/test/fake_content_layer.cc
index 5f144e9e1a8eb95c97f6ffd0b90b2d11ca0f3091..87accc785a745b69f880d8c62b9f92f914d80205 100644
--- a/cc/test/fake_content_layer.cc
+++ b/cc/test/fake_content_layer.cc
@@ -12,7 +12,7 @@ namespace cc {
class FakeContentLayerUpdater : public ContentLayerUpdater {
public:
- using ContentLayerUpdater::content_rect;
+ using ContentLayerUpdater::paint_rect;
private:
virtual ~FakeContentLayerUpdater() {}
@@ -43,8 +43,7 @@ bool FakeContentLayer::Update(ResourceUpdateQueue* queue,
}
gfx::Rect FakeContentLayer::LastPaintRect() const {
- return (static_cast<FakeContentLayerUpdater*>
- (Updater()))->content_rect();
+ return (static_cast<FakeContentLayerUpdater*>(Updater()))->paint_rect();
}
void FakeContentLayer::PushPropertiesTo(LayerImpl* layer) {
« no previous file with comments | « cc/resources/skpicture_content_layer_updater.cc ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698