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

Unified Diff: cc/output/gl_renderer_unittest.cc

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/layers/video_layer_impl.cc ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_unittest.cc
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc
index 0048cda6a759c6f40d7ef11f621857c9a4415527..ea53a5381217a800b9162990808cba1222b0b927 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -1979,7 +1979,7 @@ TEST_F(GLRendererTest, DontOverlayWithCopyRequests) {
viewport_rect, viewport_rect, viewport_rect, resource_id,
premultiplied_alpha, gfx::PointF(0, 0),
gfx::PointF(1, 1), SK_ColorTRANSPARENT, vertex_opacity,
- flipped, nearest_neighbor);
+ flipped, nearest_neighbor, false);
// DirectRenderer::DrawFrame calls into OverlayProcessor::ProcessForOverlays.
// Attempt will be called for each strategy in OverlayProcessor. We have
@@ -2003,7 +2003,7 @@ TEST_F(GLRendererTest, DontOverlayWithCopyRequests) {
viewport_rect, viewport_rect, viewport_rect, resource_id,
premultiplied_alpha, gfx::PointF(0, 0),
gfx::PointF(1, 1), SK_ColorTRANSPARENT, vertex_opacity,
- flipped, nearest_neighbor);
+ flipped, nearest_neighbor, false);
EXPECT_CALL(*validator, AllowCALayerOverlays())
.Times(1)
.WillOnce(::testing::Return(false));
@@ -2022,7 +2022,7 @@ TEST_F(GLRendererTest, DontOverlayWithCopyRequests) {
viewport_rect, viewport_rect, viewport_rect, resource_id,
premultiplied_alpha, gfx::PointF(0, 0),
gfx::PointF(1, 1), SK_ColorTRANSPARENT, vertex_opacity,
- flipped, nearest_neighbor);
+ flipped, nearest_neighbor, false);
EXPECT_CALL(*validator, AllowCALayerOverlays())
.Times(1)
.WillOnce(::testing::Return(true));
@@ -2141,7 +2141,7 @@ TEST_F(GLRendererTest, OverlaySyncTokensAreProcessed) {
overlay_quad->SetNew(shared_state, viewport_rect, viewport_rect,
viewport_rect, resource_id, premultiplied_alpha,
uv_top_left, uv_bottom_right, SK_ColorTRANSPARENT,
- vertex_opacity, flipped, nearest_neighbor);
+ vertex_opacity, flipped, nearest_neighbor, false);
// Verify that overlay_quad actually gets turned into an overlay, and even
// though it's not drawn, that its sync point is waited on.
« no previous file with comments | « cc/layers/video_layer_impl.cc ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698