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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 1152473006: cc: Remove DrawQuad::IterateResoruces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mkwst review Created 5 years, 7 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
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index c0e5bfbda38d4c60a93daffb8b42f1ba4d82459f..715165d96c7132fa2cf0c4a084365c56b471ef97 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -3114,10 +3114,10 @@ class LayerTreeHostTestIOSurfaceDrawing : public LayerTreeHostTest {
const IOSurfaceDrawQuad* io_surface_draw_quad =
IOSurfaceDrawQuad::MaterialCast(quad);
EXPECT_EQ(io_surface_size_, io_surface_draw_quad->io_surface_size);
- EXPECT_NE(0u, io_surface_draw_quad->io_surface_resource_id);
+ EXPECT_NE(0u, io_surface_draw_quad->io_surface_resource_id());
EXPECT_EQ(static_cast<GLenum>(GL_TEXTURE_RECTANGLE_ARB),
resource_provider->TargetForTesting(
- io_surface_draw_quad->io_surface_resource_id));
+ io_surface_draw_quad->io_surface_resource_id()));
if (delegating_renderer()) {
// The io surface layer's resource should be sent to the parent.

Powered by Google App Engine
This is Rietveld 408576698