Backing out 233441.

git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2004-05-17 16:29:13 +00:00
parent b74d33a9ee
commit 92e59ef827
35 changed files with 450 additions and 128 deletions

View File

@@ -601,7 +601,8 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
aView->SetHasUniformBackground(drawnOnUniformField);
if (isCanvas) {
nsIView* rootView = vm->RootView();
nsIView* rootView;
vm->GetRootView(rootView);
nsIView* rootParent = rootView->GetParent();
if (!rootParent) {
// We're the root of a view manager hierarchy. We will have to