зеркало из https://github.com/mozilla/gecko-dev.git
fix leak on horiz scrollbar (bug 234278, r=sfraser/pink, sr=bryner)
This commit is contained in:
Родитель
17476ee5b2
Коммит
f698146b19
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче