зеркало из https://github.com/mozilla/moz-skia.git
make sure size change posts at sample app startup.
git-svn-id: http://skia.googlecode.com/svn/trunk@1811 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
2be9e8b407
Коммит
840e9f3776
|
@ -425,16 +425,15 @@ SampleWindow::SampleWindow(void* hwnd, int argc, char** argv) : INHERITED(hwnd)
|
|||
}
|
||||
}
|
||||
this->loadView(fSamples[fCurrIndex]());
|
||||
|
||||
fPDFData = NULL;
|
||||
|
||||
this->make3DReady();
|
||||
// If another constructor set our dimensions, ensure that our
|
||||
// onSizeChange gets called.
|
||||
if (this->height() && this->width()) {
|
||||
this->onSizeChange();
|
||||
}
|
||||
|
||||
fPDFData = NULL;
|
||||
|
||||
this->make3DReady();
|
||||
}
|
||||
|
||||
SampleWindow::~SampleWindow() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче