| 451 | } |
| 452 | |
| 453 | RenderViewImpl* RenderViewImpl::createWithRect(std::string_view viewName, |
| 454 | const ax::Rect& rect, |
| 455 | float frameZoomFactor, |
| 456 | bool resizable) |
| 457 | { |
| 458 | auto ret = new RenderViewImpl; |
| 459 | if (ret->initWithRect(viewName, rect, frameZoomFactor, resizable)) |
| 460 | { |
| 461 | ret->autorelease(); |
| 462 | return ret; |
| 463 | } |
| 464 | AX_SAFE_DELETE(ret); |
| 465 | return nullptr; |
| 466 | } |
| 467 | |
| 468 | RenderViewImpl* RenderViewImpl::createWithFullScreen(std::string_view viewName) |
| 469 | { |
nothing calls this directly
no test coverage detected