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

Unified Diff: cc/test/fake_mask_layer_impl.cc

Issue 2828353003: Determine mask UVs based on texture size (Closed)
Patch Set: Add tolerance to filter_effects.html Created 3 years, 8 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/test/fake_mask_layer_impl.h ('k') | cc/trees/effect_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_mask_layer_impl.cc
diff --git a/cc/test/fake_mask_layer_impl.cc b/cc/test/fake_mask_layer_impl.cc
index 31c1139fd64e9f1d140e31e5720be19806e94f1b..a1258a188617373d336844c7a696cee7df8c6c39 100644
--- a/cc/test/fake_mask_layer_impl.cc
+++ b/cc/test/fake_mask_layer_impl.cc
@@ -30,6 +30,7 @@ std::unique_ptr<FakeMaskLayerImpl> FakeMaskLayerImpl::Create(
void FakeMaskLayerImpl::GetContentsResourceId(ResourceId* resource_id,
gfx::Size* resource_size) const {
*resource_id = 0;
+ *resource_size = resource_size_;
}
} // namespace cc
« no previous file with comments | « cc/test/fake_mask_layer_impl.h ('k') | cc/trees/effect_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698