mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 90.0.4430.0 (#857950)
- Linux ARM builds require use_vaapi=false (see https://crbug.com/1185348) - Windows official builds require use_thin_lto=false (see https://crbug.com/1177001)
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "chrome/common/google_url_loader_throttle.h"
|
||||
#include "content/public/common/content_features.h"
|
||||
#include "content/public/renderer/render_frame.h"
|
||||
#include "extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.h"
|
||||
#include "services/network/public/cpp/features.h"
|
||||
#include "third_party/blink/public/common/loader/resource_type_util.h"
|
||||
#include "third_party/blink/public/platform/web_url.h"
|
||||
@@ -59,23 +58,6 @@ CefURLLoaderThrottleProviderImpl::CreateThrottles(
|
||||
DCHECK(!is_frame_resource ||
|
||||
type_ == content::URLLoaderThrottleProviderType::kFrame);
|
||||
|
||||
if (extensions::ExtensionsEnabled() &&
|
||||
type_ == content::URLLoaderThrottleProviderType::kFrame &&
|
||||
request_destination == network::mojom::RequestDestination::kObject) {
|
||||
content::RenderFrame* render_frame =
|
||||
content::RenderFrame::FromRoutingID(render_frame_id);
|
||||
auto mime_handlers =
|
||||
extensions::MimeHandlerViewContainer::FromRenderFrame(render_frame);
|
||||
GURL gurl(request.Url());
|
||||
for (auto* handler : mime_handlers) {
|
||||
auto throttle = handler->MaybeCreatePluginThrottle(gurl);
|
||||
if (throttle) {
|
||||
throttles.push_back(std::move(throttle));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
throttles.push_back(std::make_unique<GoogleURLLoaderThrottle>(
|
||||
AlloyRenderThreadObserver::GetDynamicParams()));
|
||||
|
||||
|
Reference in New Issue
Block a user