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

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

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase 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
« no previous file with comments | « services/ui/ws/server_window.cc ('k') | tools/gn/analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index 7dfcf12dce0a4b7336ab12a62bcb7541bb8f9e21..00f457588d51b2128242356792e1eaa79c0502ad 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -782,7 +782,7 @@ void WindowServer::OnSurfaceCreated(const cc::SurfaceInfo& surface_info) {
// FrameGenerator will add an appropriate reference for the new surface.
DCHECK(display_manager_->GetDisplayContaining(window));
- auto display = display_manager_->GetDisplayContaining(window);
+ auto* display = display_manager_->GetDisplayContaining(window);
if (window == display->GetActiveRootWindow()) {
display->platform_display()->GetFrameGenerator()->OnSurfaceCreated(
surface_info);
« no previous file with comments | « services/ui/ws/server_window.cc ('k') | tools/gn/analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698