Update common/chromium/render_widget_host_view_mac.patch
Introduce interface between RWHVMac and RWHVCocoa https://chromium-review.googlesource.com/969975
This commit is contained in:
Родитель
0144563d51
Коммит
d16c01f9d9
|
@ -16,7 +16,7 @@ index 6a161f0f36c6..349bc78976ad 100644
|
|||
bool opaque = SkColorGetA(color) == SK_AlphaOPAQUE;
|
||||
+ if (opaque) {
|
||||
+ bool wantsTransparent = ui::GpuSwitchingManager::UseTransparent() ||
|
||||
+ ([cocoa_view_ window] && ![[cocoa_view_ window] isOpaque]);
|
||||
+ ([cocoa_view() window] && ![[cocoa_view() window] isOpaque]);
|
||||
+ if (wantsTransparent)
|
||||
+ opaque = NO;
|
||||
+ }
|
||||
|
|
Загрузка…
Ссылка в новой задаче