Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index 3f8ad218d9e1476482b9a3e3f0dbddc418a84cb9..b39c1299b69f80af4d905e5868b0e489a612a4f1 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -355,11 +355,6 @@ class COMPOSITOR_EXPORT Layer |
float device_scale_factor() const { return device_scale_factor_; } |
- // Forces a render surface to be used on this layer. This has no positive |
- // impact, and is only used for benchmarking/testing purpose. |
- void SetForceRenderSurface(bool force); |
- bool force_render_surface() const { return force_render_surface_; } |
- |
// LayerClient |
std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo( |
cc::Layer* layer) override; |
@@ -437,8 +432,6 @@ class COMPOSITOR_EXPORT Layer |
// Visibility of this layer. See SetVisible/IsDrawn for more details. |
bool visible_; |
- bool force_render_surface_; |
- |
bool fills_bounds_opaquely_; |
bool fills_bounds_completely_; |