| Index: content/browser/renderer_host/render_widget_host_view_mac.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
|
| index f00b61630ee8617798046b31197319b5cbbb1279..b634a355b1a8502fa646a43d965201fc72702666 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.h
|
| @@ -546,13 +546,18 @@ class RenderWidgetHostViewMac : public RenderWidgetHostViewBase,
|
|
|
| bool EnsureCompositedIOSurface() WARN_UNUSED_RESULT;
|
| void EnsureCompositedIOSurfaceLayer();
|
| + enum DestroyCompositedIOSurfaceLayerBehavior {
|
| + kLeaveLayerInHierarchy,
|
| + kRemoveLayerFromHierarchy,
|
| + };
|
| + void DestroyCompositedIOSurfaceLayer(
|
| + DestroyCompositedIOSurfaceLayerBehavior destroy_layer_behavior);
|
| enum DestroyContextBehavior {
|
| kLeaveContextBoundToView,
|
| kDestroyContext,
|
| };
|
| - void DestroyCompositedIOSurfaceLayer();
|
| - void DestroyCompositedIOSurfaceAndLayer(DestroyContextBehavior
|
| - destroy_context_behavior);
|
| + void DestroyCompositedIOSurfaceAndLayer(
|
| + DestroyContextBehavior destroy_context_behavior);
|
|
|
| void DestroyCompositingStateOnError();
|
|
|
|
|