Index: ui/gfx/screen_mac.mm |
diff --git a/ui/gfx/screen_mac.mm b/ui/gfx/screen_mac.mm |
index 377c8592210b93f00da814c6383c2343d7c28fe7..11d94fca44d90335e36fa0a3c9d906cbf6e91643 100644 |
--- a/ui/gfx/screen_mac.mm |
+++ b/ui/gfx/screen_mac.mm |
@@ -166,6 +166,22 @@ class ScreenMac : public gfx::Screen { |
return GetDisplayForScreen(match_screen); |
} |
+ virtual bool GetDisplayColorProfile( |
+ gfx::NativeView view, std::vector<char>* color_profile) const OVERRIDE { |
+ DCHECK(color_profile->empty()); |
+ |
+ NSWindow* window = nil; |
+#if !defined(USE_AURA) |
+ window = [view window]; |
+#endif |
+ if (!window) |
+ return false; |
+ |
+ // TODO(noel): implement. |
+ NOTIMPLEMENTED(); |
+ return false; |
+ } |
+ |
virtual gfx::Display GetDisplayNearestPoint( |
const gfx::Point& point) const OVERRIDE { |
NSPoint ns_point = NSPointFromCGPoint(point.ToCGPoint()); |