зеркало из https://github.com/mozilla/gecko-dev.git
Bug 797942: Propagate SIZE_CHANGED to LayerManagerOGL; r=cwiiis
This commit is contained in:
Родитель
43ad4eca7c
Коммит
4a3354e734
|
@ -1241,12 +1241,16 @@ nsWindow::OnSizeChanged(const gfxIntSize& aSize)
|
|||
{
|
||||
ALOG("nsWindow: %p OnSizeChanged [%d %d]", (void*)this, aSize.width, aSize.height);
|
||||
|
||||
SchedulePauseComposition();
|
||||
|
||||
mBounds.width = aSize.width;
|
||||
mBounds.height = aSize.height;
|
||||
|
||||
if (mWidgetListener) {
|
||||
mWidgetListener->WindowResized(this, aSize.width, aSize.height);
|
||||
}
|
||||
|
||||
ScheduleResumeComposition(aSize.width, aSize.height);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче