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

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

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update Created 3 years, 10 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: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index ea2286397c32f5c3dc7a52b82a739a9041399bfd..03b8248d78879fbda8f1f919f07c3468fb6dd01b 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -45,7 +45,7 @@ FrameGenerator::~FrameGenerator() {
void FrameGenerator::OnAcceleratedWidgetAvailable(
gfx::AcceleratedWidget widget) {
DCHECK_NE(gfx::kNullAcceleratedWidget, widget);
- auto associated_group =
+ auto* associated_group =
root_window_->delegate()->GetDisplayCompositorAssociatedGroup();
cc::mojom::MojoCompositorFrameSinkAssociatedRequest sink_request =
mojo::MakeRequest(&compositor_frame_sink_, associated_group);

Powered by Google App Engine
This is Rietveld 408576698