FIXME: Delete RenderWidgetHostViewMac::AcceleratedWidgetGetNSView

1121957

1037145
This commit is contained in:
Jeremy Apthorp 2018-10-02 14:03:47 -07:00
parent 95cec24387
commit ec1bd5375a

View file

@ -997,6 +997,8 @@ bool NativeWindowMac::IsKiosk() {
}
void NativeWindowMac::SetBackgroundColor(SkColor color) {
NOTIMPLEMENTED() << "TODO";
/*
base::ScopedCFTypeRef<CGColorRef> cgcolor(
skia::CGColorCreateFromSkColor(color));
// views::Widget adds a layer for the content view.
@ -1008,6 +1010,7 @@ void NativeWindowMac::SetBackgroundColor(SkColor color) {
// When using WebContents as content view, the contentView also has layer.
if ([[window_ contentView] wantsLayer])
[[[window_ contentView] layer] setBackgroundColor:cgcolor];
*/
}
void NativeWindowMac::SetHasShadow(bool has_shadow) {