зеркало из https://github.com/mozilla/gecko-dev.git
Bug 204389 warning: unused variable `const class nsView * zParent' in nsView::GetClippedRect
r=roc+moz sr=roc+moz
This commit is contained in:
Родитель
187f4d5075
Коммит
82da623af2
|
@ -988,12 +988,12 @@ NS_IMETHODIMP nsView::GetClippedRect(nsRect& aClippedRect, PRBool& aIsClipped, P
|
|||
// don't consider non-floating ancestors of a floating view.
|
||||
const nsView* view = this;
|
||||
while (PR_TRUE) {
|
||||
const nsView* zParent = view->GetZParent();
|
||||
const nsView* parentView = view->GetParent();
|
||||
#if 0
|
||||
// For now, we're disabling this code. This means that we only honor clipping
|
||||
// set by parent elements which are containing block ancestors of this content.
|
||||
|
||||
const nsView* zParent = view->GetZParent();
|
||||
if (zParent) {
|
||||
// This view was reparented. We need to continue collecting clip
|
||||
// rects from the zParent.
|
||||
|
|
Загрузка…
Ссылка в новой задаче