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

Unified Diff: cc/layers/layer_impl.cc

Issue 2693703010: cc: Remove support for disabling non-root render surfaces. (Closed)
Patch Set: softwaredraw-remove-no-surfaces: rebase Created 3 years, 7 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 | « no previous file | cc/output/bsp_tree_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 3006bd5ad50e3f9d39bc95add9f8f63b18d769da..7b053d3ff135794b998bdc71e962a0173fab4ea6 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -867,13 +867,8 @@ void LayerImpl::RunMicroBenchmark(MicroBenchmarkImpl* benchmark) {
gfx::Transform LayerImpl::DrawTransform() const {
// Only drawn layers have up-to-date draw properties.
if (!contributes_to_drawn_render_surface()) {
- if (GetPropertyTrees()->non_root_surfaces_enabled) {
return draw_property_utils::DrawTransform(this, GetTransformTree(),
GetEffectTree());
- } else {
- return draw_property_utils::ScreenSpaceTransform(this,
- GetTransformTree());
- }
}
return draw_properties().target_space_transform;
« no previous file with comments | « no previous file | cc/output/bsp_tree_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698