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

Unified Diff: ui/ozone/platform/dri/overlay_plane.h

Issue 779173007: Fix crash when we don't have a plane to display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 | « ui/ozone/platform/dri/crtc_controller.cc ('k') | ui/ozone/platform/dri/overlay_plane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/overlay_plane.h
diff --git a/ui/ozone/platform/dri/overlay_plane.h b/ui/ozone/platform/dri/overlay_plane.h
index 536712f99f270b3833cbb4d036d2024aeb48f0bc..7e8e1d56220d21c9be3ff323d17891a62f3aae76 100644
--- a/ui/ozone/platform/dri/overlay_plane.h
+++ b/ui/ozone/platform/dri/overlay_plane.h
@@ -31,7 +31,7 @@ struct OverlayPlane {
~OverlayPlane();
// Returns the primary plane in |overlays|.
- static const OverlayPlane& GetPrimaryPlane(const OverlayPlaneList& overlays);
+ static const OverlayPlane* GetPrimaryPlane(const OverlayPlaneList& overlays);
scoped_refptr<ScanoutBuffer> buffer;
int z_order;
« no previous file with comments | « ui/ozone/platform/dri/crtc_controller.cc ('k') | ui/ozone/platform/dri/overlay_plane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698