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

Unified Diff: ui/compositor/compositor.cc

Issue 2582653002: ui::Compositor needs a valid FrameSinkId even when it doesn't have ContextFactoryPrivate. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index f2d08cde512820fb5ea9af028f7e25811b276e4d..7d767d622ee369746f4e28b511cf05328f8966bb 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -85,7 +85,7 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
compositor_frame_sink_requested_(false),
frame_sink_id_(context_factory_private
? context_factory_private->AllocateFrameSinkId()
- : cc::FrameSinkId()),
+ : cc::FrameSinkId(1, 1)),
sadrul 2016/12/16 02:29:09 Let's have a kDefaultFrameSinkId for this. So some
mfomitchev 2016/12/16 18:17:58 Done.
task_runner_(task_runner),
vsync_manager_(new CompositorVSyncManager()),
device_scale_factor_(0.0f),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698