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

Unified Diff: ui/ozone/platform/drm/gpu/screen_manager.h

Issue 1072383003: ozone: drm: Fix HardwareDisplayController use-after-free (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: ui/ozone/platform/drm/gpu/screen_manager.h
diff --git a/ui/ozone/platform/drm/gpu/screen_manager.h b/ui/ozone/platform/drm/gpu/screen_manager.h
index 2732769f17ad32099cbbd84a5446a9052b683098..75d6e6ced05b42f044b4c85b55d070fe758adb72 100644
--- a/ui/ozone/platform/drm/gpu/screen_manager.h
+++ b/ui/ozone/platform/drm/gpu/screen_manager.h
@@ -117,6 +117,8 @@ class OZONE_EXPORT ScreenManager {
DrmWindow* FindWindowAt(const gfx::Rect& bounds) const;
+ void RemoveController(HardwareDisplayControllers::iterator controller);
+
ScanoutBufferGenerator* buffer_generator_; // Not owned.
// List of display controllers (active and disabled).
HardwareDisplayControllers controllers_;
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/screen_manager.cc » ('j') | ui/ozone/platform/drm/gpu/screen_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698