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

Unified Diff: cc/layers/surface_layer_impl.cc

Issue 2795703002: ui: Add debug flag to show composited layer borders in ChromeOS UI. (Closed)
Patch Set: nits Created 3 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 | « cc/layers/render_surface_impl.cc ('k') | chrome/browser/about_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer_impl.cc
diff --git a/cc/layers/surface_layer_impl.cc b/cc/layers/surface_layer_impl.cc
index 5acd21efa66f0e62a00122c4d1610d23edf30da7..7a1bfbd9795c782104a565971fac205ee98ad678 100644
--- a/cc/layers/surface_layer_impl.cc
+++ b/cc/layers/surface_layer_impl.cc
@@ -135,7 +135,7 @@ void SurfaceLayerImpl::GetDebugBorderProperties(SkColor* color,
}
void SurfaceLayerImpl::AppendRainbowDebugBorder(RenderPass* render_pass) {
- if (!ShowDebugBorders())
+ if (!ShowDebugBorders(DebugBorderType::SURFACE))
return;
SharedQuadState* shared_quad_state =
« no previous file with comments | « cc/layers/render_surface_impl.cc ('k') | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698