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

Unified Diff: services/ui/ws/frame_generator.cc

Issue 2497303002: Fix ws::Display initialization order. (Closed)
Patch Set: Fix use after move in test. 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
« no previous file with comments | « services/ui/ws/display_manager.cc ('k') | services/ui/ws/platform_display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index 702818d2ef5e952413533e9b9d320e09d67a3499..5fee960f0670265361fc9d33a07dddba10c16f31 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -76,7 +76,7 @@ void FrameGenerator::OnAcceleratedWidgetAvailable(
root_window_->CreateCompositorFrameSink(
mojom::CompositorFrameSinkType::DEFAULT, widget_,
gpu_channel_->gpu_memory_buffer_manager(),
- new SurfacesContextProvider(widget_, std::move(gpu_channel_)),
+ new SurfacesContextProvider(widget_, gpu_channel_),
std::move(request), binding_.CreateInterfacePtrAndBind());
// TODO(fsamuel): This means we're always requesting a new BeginFrame signal
// even when we don't need it. Once surface ID propagation work is done,
« no previous file with comments | « services/ui/ws/display_manager.cc ('k') | services/ui/ws/platform_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698