mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 2b3ae3b8 (#394939)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "libcef/common/request_impl.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/memory/ptr_util.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "net/url_request/url_request.h"
|
||||
#include "net/url_request/url_request_context.h"
|
||||
@@ -201,7 +202,7 @@ void CefURLRequestManager::SetProtocolHandlerIfNecessary(
|
||||
|
||||
bool set_protocol = job_factory_->SetProtocolHandler(
|
||||
scheme,
|
||||
make_scoped_ptr(add ? new CefProtocolHandler(this, scheme) : NULL));
|
||||
base::WrapUnique(add ? new CefProtocolHandler(this, scheme) : NULL));
|
||||
DCHECK(set_protocol);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user