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

Unified Diff: services/ui/display/screen_manager_forwarding.h

Issue 2901413004: chromeos: Fix handling of null in NativeDisplayDelegate (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | services/ui/display/screen_manager_forwarding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/screen_manager_forwarding.h
diff --git a/services/ui/display/screen_manager_forwarding.h b/services/ui/display/screen_manager_forwarding.h
index 0abd5d172c63888ca6a05f836518996be44a7642..204cc50720b8a432d5ce547583fd9119a5f25ee3 100644
--- a/services/ui/display/screen_manager_forwarding.h
+++ b/services/ui/display/screen_manager_forwarding.h
@@ -51,7 +51,7 @@ class ScreenManagerForwarding : public ScreenManager,
const RelinquishDisplayControlCallback& callback) override;
void GetDisplays(const GetDisplaysCallback& callback) override;
void Configure(int64_t display_id,
- std::unique_ptr<display::DisplayMode> mode,
+ base::Optional<std::unique_ptr<display::DisplayMode>> mode,
const gfx::Point& origin,
const ConfigureCallback& callback) override;
void GetHDCPState(int64_t display_id,
« no previous file with comments | « no previous file | services/ui/display/screen_manager_forwarding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698