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

Unified Diff: cc/quads/picture_draw_quad.cc

Issue 1380653003: Mac Overlays: Allow SolidColor and Tile quads to be candidates for overlays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AllOrNothing2
Patch Set: Plumb allow_overlay 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
Index: cc/quads/picture_draw_quad.cc
diff --git a/cc/quads/picture_draw_quad.cc b/cc/quads/picture_draw_quad.cc
index b98fa90b10e4184304486bbe7fce241c4bf249b2..c1c0907a972b00f5898c7c95d27a4b170167e41a 100644
--- a/cc/quads/picture_draw_quad.cc
+++ b/cc/quads/picture_draw_quad.cc
@@ -37,7 +37,8 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
tex_coord_rect,
texture_size,
!PlatformColor::SameComponentOrder(texture_format),
- nearest_neighbor);
+ nearest_neighbor,
+ false);
this->content_rect = content_rect;
this->contents_scale = contents_scale;
this->raster_source = raster_source;
@@ -66,7 +67,8 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
texture_size,
!PlatformColor::SameComponentOrder(
texture_format),
- nearest_neighbor);
+ nearest_neighbor,
+ false);
this->content_rect = content_rect;
this->contents_scale = contents_scale;
this->raster_source = raster_source;

Powered by Google App Engine
This is Rietveld 408576698