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

Unified Diff: mojo/converters/surfaces/surfaces_utils.cc

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
Index: mojo/converters/surfaces/surfaces_utils.cc
diff --git a/mojo/converters/surfaces/surfaces_utils.cc b/mojo/converters/surfaces/surfaces_utils.cc
index b433722aa406248d8b5b6a315b4e5b489f2c83c7..d62fc081556d380348d6314819f03893e805cc9d 100644
--- a/mojo/converters/surfaces/surfaces_utils.cc
+++ b/mojo/converters/surfaces/surfaces_utils.cc
@@ -14,9 +14,9 @@ namespace mojo {
SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
SharedQuadStatePtr sqs = SharedQuadState::New();
- sqs->content_to_target_transform = Transform::From(gfx::Transform());
- sqs->content_bounds = Size::From(size);
- sqs->visible_content_rect = Rect::From(gfx::Rect(size));
+ sqs->quad_to_target_transform = Transform::From(gfx::Transform());
+ sqs->quad_layer_bounds = Size::From(size);
+ sqs->visible_quad_layer_rect = Rect::From(gfx::Rect(size));
sqs->clip_rect = Rect::From(gfx::Rect(size));
sqs->is_clipped = false;
sqs->opacity = 1.f;
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | mojo/converters/surfaces/tests/surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698