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

Unified Diff: ui/accelerated_widget_mac/ca_renderer_layer_tree.h

Issue 2378423002: Mac: Fix Sierra solid color layer color-mismatch (Closed)
Patch Set: Fix includes Created 4 years, 3 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
« no previous file with comments | « no previous file | ui/accelerated_widget_mac/ca_renderer_layer_tree.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/ca_renderer_layer_tree.h
diff --git a/ui/accelerated_widget_mac/ca_renderer_layer_tree.h b/ui/accelerated_widget_mac/ca_renderer_layer_tree.h
index cf651ad0d984475c5ee3e5faec1b54c8c459c054..c90bb9399a56a3256c713adb09fd167b7c6d7316 100644
--- a/ui/accelerated_widget_mac/ca_renderer_layer_tree.h
+++ b/ui/accelerated_widget_mac/ca_renderer_layer_tree.h
@@ -14,6 +14,7 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/mac/scoped_nsobject.h"
+#include "base/memory/ref_counted.h"
#include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
@@ -59,6 +60,7 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
AVSampleBufferDisplayLayer* fullscreen_low_power_layer);
private:
+ class SolidColorContents;
struct RootLayer;
struct ClipAndSortingLayer;
struct TransformLayer;
@@ -161,6 +163,7 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
// their use count.
const gfx::ScopedInUseIOSurface io_surface;
const base::ScopedCFTypeRef<CVPixelBufferRef> cv_pixel_buffer;
+ scoped_refptr<SolidColorContents> solid_color_contents;
gfx::RectF contents_rect;
gfx::Rect rect;
unsigned background_color = 0;
« no previous file with comments | « no previous file | ui/accelerated_widget_mac/ca_renderer_layer_tree.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698