mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 588403. Part 2. Don't remove the area of popup widgets from the area to update on the parent widget. r=roc a=blocking final+
This commit is contained in:
parent
a5e4490b95
commit
1f34543f41
@ -609,7 +609,10 @@ nsViewManager::UpdateWidgetArea(nsView *aWidgetView, nsIWidget* aWidget,
|
||||
NS_ASSERTION(view != aWidgetView, "will recur infinitely");
|
||||
PRBool visible;
|
||||
childWidget->IsVisible(visible);
|
||||
if (view && visible && !IsWidgetDrawnByPlugin(childWidget, view)) {
|
||||
nsWindowType type;
|
||||
childWidget->GetWindowType(type);
|
||||
if (view && visible && !IsWidgetDrawnByPlugin(childWidget, view) &&
|
||||
type != eWindowType_popup) {
|
||||
// Don't mess with views that are in completely different view
|
||||
// manager trees
|
||||
nsViewManager* viewManager = view->GetViewManager();
|
||||
|
Loading…
Reference in New Issue
Block a user