cef/patch/patches/mac_fling_scheduler_2540.patch
Marshall Greenblatt 6df612a597 Update to Chromium version 72.0.3615.0 (#609159)
- The |category| value for all TRACE calls from CEF client applications is now
  "cef.client" due to https://crrev.com/331266377d.
- The |with_menu_marker| parameter to CreateMenuButton has been removed due to
  https://crrev.com/7f7e382118.
2018-12-04 14:45:37 -05:00

16 lines
646 B
Diff

diff --git content/browser/renderer_host/input/fling_scheduler_mac.mm content/browser/renderer_host/input/fling_scheduler_mac.mm
index f10c5d161dd1..92a751dd984e 100644
--- content/browser/renderer_host/input/fling_scheduler_mac.mm
+++ content/browser/renderer_host/input/fling_scheduler_mac.mm
@@ -26,6 +26,10 @@ ui::Compositor* FlingSchedulerMac::GetCompositor() {
return nullptr;
}
+ // For CEF this will always be false when running in OSR mode.
+ if (!view->GetNativeView())
+ return nullptr;
+
RenderWidgetHostViewMac* mac_view =
static_cast<RenderWidgetHostViewMac*>(view);
if (mac_view->BrowserCompositor())