Linux: cefclient: Don't use std::make_unique which requires C++14

This commit is contained in:
Marshall Greenblatt 2021-04-23 20:42:14 -04:00
parent ae4f68f695
commit 3c8507c4a3

View File

@ -580,7 +580,7 @@ ClientPrintHandlerGtk::~ClientPrintHandlerGtk() {
void ClientPrintHandlerGtk::OnPrintStart(CefRefPtr<CefBrowser> browser) {
CEF_REQUIRE_UI_THREAD();
DCHECK(!print_handler_);
print_handler_ = std::make_unique<PrintHandler>(browser);
print_handler_.reset(new PrintHandler(browser));
}
void ClientPrintHandlerGtk::OnPrintSettings(