Index: cc/quads/draw_quad.h |
diff --git a/cc/quads/draw_quad.h b/cc/quads/draw_quad.h |
index d5d431e16f3561bca01a8cdf632a605938f6b3dd..df3bc1213f52b28bc85f8462f7fcc1ffc4bcff90 100644 |
--- a/cc/quads/draw_quad.h |
+++ b/cc/quads/draw_quad.h |
@@ -96,13 +96,13 @@ class CC_EXPORT DrawQuad { |
// Is the right edge of this tile aligned with the originating layer's |
// right edge? |
bool IsRightEdge() const { |
- return rect.right() == shared_quad_state->content_bounds.width(); |
+ return rect.right() == shared_quad_state->quad_layer_bounds.width(); |
} |
// Is the bottom edge of this tile aligned with the originating layer's |
// bottom edge? |
bool IsBottomEdge() const { |
- return rect.bottom() == shared_quad_state->content_bounds.height(); |
+ return rect.bottom() == shared_quad_state->quad_layer_bounds.height(); |
} |
// Is any edge of this tile aligned with the originating layer's |