mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' Followup fix, r=roc.
This commit is contained in:
parent
d3e3951be9
commit
bbc4e6332d
@ -549,7 +549,10 @@ nsresult nsPluginNativeWindowWin::SubclassAndAssociateWindow()
|
||||
// Out of process plugins must not have the WS_CLIPCHILDREN style set on their
|
||||
// parent windows or else synchronous paints (via UpdateWindow() and others)
|
||||
// will cause deadlocks.
|
||||
style &= ~WS_CLIPCHILDREN;
|
||||
if (::GetPropW(hWnd, L"PluginInstanceParentProperty"))
|
||||
style &= ~WS_CLIPCHILDREN;
|
||||
else
|
||||
style |= WS_CLIPCHILDREN;
|
||||
#else
|
||||
style |= WS_CLIPCHILDREN;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user