Bug 1195472 - Call Show after Enable on puppet widgets to avoid an assertion when running crash tests. r=aklotz

This commit is contained in:
Jim Mathies 2015-09-01 10:39:30 -05:00
parent 39d3df5e3c
commit 3d14cef763
2 changed files with 2 additions and 2 deletions

View File

@ -367,10 +367,10 @@ asserts-if(winWidget,0-3) load 499885-1.xhtml
load 501535-1.html
load 503961-1.xhtml
load 503961-2.html
asserts-if(gtkWidget&&browserIsRemote,1) load 505912-1.html # Bug 1195472
load 508168-1.html
load 508816-1.xul
load 508908-1.html
load 505912-1.html
load 509749-1.html
load 511482.html
load 512724-1.html

View File

@ -306,8 +306,8 @@ nsPluginFrame::PrepForDrawing(nsIWidget *aWidget)
viewMan->InsertChild(view, mInnerView, nullptr, true);
mWidget->SetParent(parentWidget);
mWidget->Show(true);
mWidget->Enable(true);
mWidget->Show(true);
// Set the plugin window to have an empty clip region until we know
// what our true position, size and clip region are. These