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

Unified Diff: content/renderer/android/synchronous_compositor_frame_sink.cc

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: rebase Created 4 years, 1 month 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: content/renderer/android/synchronous_compositor_frame_sink.cc
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.cc b/content/renderer/android/synchronous_compositor_frame_sink.cc
index 4113e6210d05e592ebc7534a07c63e7f8867d2cf..fd683c1199015225cb563e29d8562c916080554b 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.cc
+++ b/content/renderer/android/synchronous_compositor_frame_sink.cc
@@ -283,7 +283,7 @@ void SynchronousCompositorFrameSink::SubmitCompositorFrame(
shared_quad_state->SetAll(
child_transform, child_size, gfx::Rect(child_size),
gfx::Rect() /* clip_rect */, false /* is_clipped */, 1.f /* opacity */,
- SkXfermode::kSrcOver_Mode, 0 /* sorting_context_id */);
+ SkBlendMode::kSrcOver, 0 /* sorting_context_id */);
surface_quad->SetNew(shared_quad_state, gfx::Rect(child_size),
gfx::Rect(child_size),
cc::SurfaceId(kFrameSinkId, child_local_frame_id_));

Powered by Google App Engine
This is Rietveld 408576698