Commit 7dd2b7db authored by robliao's avatar robliao Committed by Commit bot

Make gfx::Display Final

gfx::Display is designed to be copied, so no one should inherit from
gfx::Display.

BUG=426656

Review URL: https://codereview.chromium.org/1614953003

Cr-Commit-Position: refs/heads/master@{#370774}
parent a8684d5b
...@@ -21,7 +21,7 @@ namespace gfx { ...@@ -21,7 +21,7 @@ namespace gfx {
// system. For platforms that support DIP (density independent pixel), // system. For platforms that support DIP (density independent pixel),
// |bounds()| and |work_area| will return values in DIP coordinate // |bounds()| and |work_area| will return values in DIP coordinate
// system, not in backing pixels. // system, not in backing pixels.
class GFX_EXPORT Display { class GFX_EXPORT Display final {
public: public:
// Screen Rotation in clock-wise degrees. // Screen Rotation in clock-wise degrees.
// This enum corresponds to DisplayRotationDefaultProto::Rotation in // This enum corresponds to DisplayRotationDefaultProto::Rotation in
......
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