зеркало из https://github.com/mozilla/pjs.git
fix leak on horiz scrollbar (bug 234278, r=sfraser/pink, sr=bryner)
This commit is contained in:
Родитель
38bc0b9fa0
Коммит
a1597a23aa
|
@ -459,7 +459,7 @@ nsNativeScrollbar::RecreateHorizontalScrollbar()
|
|||
|
||||
// create the new horizontal scroller, init it, hook it up to the
|
||||
// view hierarchy and reset the values.
|
||||
mView = [[[NativeScrollbarView alloc] initWithFrame:orientation geckoChild:this] retain];
|
||||
mView = [[NativeScrollbarView alloc] initWithFrame:orientation geckoChild:this];
|
||||
[mView setNativeWindow: [mParentView getNativeWindow]];
|
||||
[mView setFrame:oldBounds];
|
||||
[mView setFloatValue:oldValue knobProportion:oldProportion];
|
||||
|
|
Загрузка…
Ссылка в новой задаче