Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(787)

Unified Diff: ui/compositor/layer.h

Issue 1912893002: cc : Stop pushing properties not used by LayerImpl to LayerImpl. (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/platform/WebLayer.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « third_party/WebKit/public/platform/WebLayer.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698