Index: ui/gfx/screen.h |
diff --git a/ui/gfx/screen.h b/ui/gfx/screen.h |
index 1d36d1b51cbefb9bff481219a7bddb6596b6875c..e6a38a6fdc72cef1d5911545e08fb6be4b1dfdbd 100644 |
--- a/ui/gfx/screen.h |
+++ b/ui/gfx/screen.h |
@@ -71,6 +71,8 @@ class GFX_EXPORT Screen { |
virtual std::vector<gfx::Display> GetAllDisplays() const = 0; |
// Returns the display nearest the specified window. |
+ // If the window is NULL or the window is not rooted to a display this will |
lazyboy
2014/10/02 16:16:21
I've added this comment, if that's what you meant.
|
+ // return the primary display. |
virtual gfx::Display GetDisplayNearestWindow(NativeView view) const = 0; |
// Returns the display nearest the specified point. |