Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 2085973004: Color: Remove ViewMsg_ColorProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change profile yet Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 2e7c96a271b31787425f3e20b74f2fb7bd7c047c..fc97982597f41fc6a0d8db7d6923e4859713bc73 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1523,13 +1523,6 @@ float FlipYFromRectToScreen(float y, float rect_height) {
*results = GetWebScreenInfo(GetNativeView());
}
-bool RenderWidgetHostViewMac::GetScreenColorProfile(
- std::vector<char>* color_profile) {
- DCHECK(color_profile->empty());
- NSWindow* window = GetWebContents()->GetTopLevelNativeWindow();
- return gfx::GetDisplayColorProfile(window, color_profile);
-}
-
gfx::Rect RenderWidgetHostViewMac::GetBoundsInRootWindow() {
// TODO(shess): In case of !window, the view has been removed from
// the view hierarchy because the tab isn't main. Could retrieve

Powered by Google App Engine
This is Rietveld 408576698