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

Unified Diff: ui/compositor/layer.cc

Issue 2495373003: Match html canvas which is transferred to OffscreenCanvas to CSS style (Closed)
Patch Set: fix basedd on feedback Created 4 years 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 03c6301c4903bcc8bb8f18f21d97f9955d1a215d..2e4083c7e31ed644e928c86001e274866fb4d0df 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -668,7 +668,7 @@ void Layer::SetShowSurface(
scoped_refptr<cc::SurfaceLayer> new_layer =
cc::SurfaceLayer::Create(satisfy_callback, require_callback);
- new_layer->SetSurfaceId(surface_id, scale, surface_size);
+ new_layer->SetSurfaceId(surface_id, scale, surface_size, false);
danakj 2016/12/15 16:13:14 use a temp var or a comment to say the name of the
SwitchToLayer(new_layer);
surface_layer_ = new_layer;

Powered by Google App Engine
This is Rietveld 408576698