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

Unified Diff: components/mus/public/cpp/surfaces/surfaces_utils.cc

Issue 2028573003: Implement gfx::Transform StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing build file Created 4 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: components/mus/public/cpp/surfaces/surfaces_utils.cc
diff --git a/components/mus/public/cpp/surfaces/surfaces_utils.cc b/components/mus/public/cpp/surfaces/surfaces_utils.cc
index 8cd5ad167531276f6840998ba3b4eb50a517f41a..c2af7d364be72e722f01b48d2294c602719ef8d6 100644
--- a/components/mus/public/cpp/surfaces/surfaces_utils.cc
+++ b/components/mus/public/cpp/surfaces/surfaces_utils.cc
@@ -6,7 +6,6 @@
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
-#include "ui/gfx/mojo/transform_type_converters.h"
#include "ui/gfx/transform.h"
using mus::mojom::Pass;
@@ -18,7 +17,6 @@ namespace mojo {
SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
SharedQuadStatePtr sqs = SharedQuadState::New();
- sqs->quad_to_target_transform = Transform::From(gfx::Transform());
sqs->quad_layer_bounds = size;
sqs->visible_quad_layer_rect = gfx::Rect(size);
sqs->clip_rect = gfx::Rect(size);
@@ -37,7 +35,6 @@ PassPtr CreateDefaultPass(int id, const gfx::Rect& rect) {
pass->id = render_pass_id;
pass->output_rect = rect;
pass->damage_rect = rect;
- pass->transform_to_root_target = Transform::From(gfx::Transform());
pass->has_transparent_background = false;
return pass;
}
« no previous file with comments | « components/mus/public/cpp/surfaces/surfaces_type_converters.cc ('k') | components/mus/public/cpp/surfaces/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698