mac: Fix blank page after devtools is opened.

This commit is contained in:
Cheng Zhao 2014-07-28 12:40:38 +08:00
parent 8ff2683ae8
commit a8e879d0c5

View file

@ -27,6 +27,9 @@ using namespace brightray;
[contentsView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
[self addSubview:contentsView];
// See https://code.google.com/p/chromium/issues/detail?id=348490.
[self setWantsLayer:YES];
return self;
}