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

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

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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 | « mojo/converters/surfaces/surfaces_utils.h ('k') | mojo/converters/surfaces/tests/surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/converters/surfaces/surfaces_utils.cc
diff --git a/mojo/converters/surfaces/surfaces_utils.cc b/mojo/converters/surfaces/surfaces_utils.cc
index d62fc081556d380348d6314819f03893e805cc9d..79b2996dcf427cda2beda668b8adc27ca2b61450 100644
--- a/mojo/converters/surfaces/surfaces_utils.cc
+++ b/mojo/converters/surfaces/surfaces_utils.cc
@@ -10,6 +10,12 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/transform.h"
+using mus::mojom::Pass;
+using mus::mojom::PassPtr;
+using mus::mojom::RenderPassId;
+using mus::mojom::SharedQuadState;
+using mus::mojom::SharedQuadStatePtr;
+
namespace mojo {
SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
@@ -20,7 +26,7 @@ SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
sqs->clip_rect = Rect::From(gfx::Rect(size));
sqs->is_clipped = false;
sqs->opacity = 1.f;
- sqs->blend_mode = mojo::SK_XFERMODE_kSrc_Mode;
+ sqs->blend_mode = mus::mojom::SK_XFERMODE_kSrc_Mode;
sqs->sorting_context_id = 0;
return sqs.Pass();
}
« no previous file with comments | « mojo/converters/surfaces/surfaces_utils.h ('k') | mojo/converters/surfaces/tests/surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698