Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the backgroundColor of RenderWidgetHostView #5155

Merged
merged 1 commit into from
Apr 14, 2016
Merged

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Apr 14, 2016

On OS X the background color of RenderWidgetHostView can not be really transparent, even if we set it to SK_ColorTRANSPARENT a half-transparent mask would still show and change the background color of the native window.

This PR solves it by also setting the background color of RenderWidgetHostView to backgroundColor.

Close #5150.

@zcbenz zcbenz merged commit 075da45 into master Apr 14, 2016
@zcbenz zcbenz deleted the mac-background-color branch April 14, 2016 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant