Commit aa067347 authored by Gary Kacmarcik's avatar Gary Kacmarcik Committed by Commit Bot

[Chromoting] Const accessor for displays

Change-Id: Icd07e1501d11914209048081496ca414d58a1f71
Reviewed-on: https://chromium-review.googlesource.com/c/1356023Reviewed-by: default avatarJoe Downing <joedow@chromium.org>
Commit-Queue: Gary Kacmarcik <garykac@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612433}
parent e6868c46
......@@ -30,7 +30,7 @@ class DesktopDisplayInfo {
bool operator==(const DesktopDisplayInfo& other);
bool operator!=(const DesktopDisplayInfo& other);
std::vector<DisplayGeometry>& displays() { return displays_; };
const std::vector<DisplayGeometry>& displays() const { return displays_; };
private:
std::vector<DisplayGeometry> displays_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment