Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171843 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -604,6 +604,7 @@ nsresult nsIView::CreateWidget(const nsIID &aWindowIID,
|
||||
nsRect trect = mDimBounds;
|
||||
float scale;
|
||||
|
||||
NS_ASSERTION(!mWindow, "We already have a window for this view? BAD");
|
||||
NS_IF_RELEASE(mWindow);
|
||||
|
||||
mViewManager->GetDeviceContext(dx);
|
||||
|
||||
Reference in New Issue
Block a user