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

Unified Diff: ui/compositor/compositor.cc

Issue 11189037: toggle FPS counter in compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed hasFontAtlas methods, put DCHECKs in HUDLayerImpl Created 8 years, 2 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
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 31f47c7d0a715531384d08827ba91eb8d4f5517e..686d121578f11ca457e06353e2f73629024c2c8c 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -147,8 +147,6 @@ Compositor::Compositor(CompositorDelegate* delegate,
root_web_layer_.reset(compositor_support->createLayer());
WebKit::WebLayerTreeView::Settings settings;
CommandLine* command_line = CommandLine::ForCurrentProcess();
- settings.showFPSCounter =
enne (OOO) 2012/10/29 17:58:57 Won't this break the --ui-show-fps-counter flag, s
egraether 2012/10/30 00:03:57 I did not realize that this was a different flag w
enne (OOO) 2012/10/30 16:09:45 It's for Aura builds, which has a separate composi
egraether 2012/10/30 16:41:34 And how is the fontAtlas loaded in that case?
egraether 2012/10/30 20:14:04 It isn't and that caused some problems. I removed
- command_line->HasSwitch(switches::kUIShowFPSCounter);
settings.showPlatformLayerTree =
command_line->HasSwitch(switches::kUIShowLayerTree);
settings.refreshRate =

Powered by Google App Engine
This is Rietveld 408576698