Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index c6df7e703ad54dba04977ee2ce6ed1a6d9df791a..1acb22ded7f4eb600da3eaa0bb2368255533156e 100644 |
--- a/ui/gfx/display.h |
+++ b/ui/gfx/display.h |
@@ -21,6 +21,8 @@ namespace gfx { |
// system. For platforms that support DIP (density independent pixel), |
// |bounds()| and |work_area| will return values in DIP coordinate |
// system, not in backing pixels. |
+// |
+// Display is designed to be copied, so don't inherit from this class! |
oshima
2016/01/21 17:47:44
can you make the class final instead? I believe it
robliao
2016/01/21 18:19:20
Will do! That can be a separate CL too.
|
class GFX_EXPORT Display { |
public: |
// Screen Rotation in clock-wise degrees. |