mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-26 22:00:01 +03:00
Reduce heap-allocations on possible hot-paths.
This commit is contained in:
@@ -5837,7 +5837,7 @@ UTEST( UIHTML, RonStonerDeferredImagesUpdateDocumentHeight ) {
|
||||
ASSERT_TRUE( documentScene != nullptr );
|
||||
|
||||
UIWidget* body = nullptr;
|
||||
std::vector<UIWidget*> images;
|
||||
WidgetQueryResult images;
|
||||
for ( int i = 0; i < 300; ++i ) {
|
||||
pump();
|
||||
body = documentScene->getRoot()->findByType( UI_TYPE_HTML_BODY )->asType<UIWidget>();
|
||||
|
||||
Reference in New Issue
Block a user