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

Unified Diff: cc/quads/draw_quad.h

Issue 1175113010: cc: Rename visible_content_rect and content stuff on quads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename-visible-content-rect: moreandroid Created 5 years, 6 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/quads/draw_polygon.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/quads/draw_polygon.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698