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

Unified Diff: content/renderer/render_widget.cc

Issue 8616004: Fixed Task Manager FPS so that it shows 0 instead of 60 for background pages. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index ff79c5d97da784dc258a13a6a45ceef7f2ae34e3..187797742e205fe893f4cbfe99e385d6c853c187 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -74,7 +74,7 @@ RenderWidget::RenderWidget(WebKit::WebPopupType popup_type)
host_window_(0),
current_paint_buf_(NULL),
next_paint_flags_(0),
- filtered_time_per_frame_(1.0f/60.0f),
+ filtered_time_per_frame_(0.0f),
update_reply_pending_(false),
using_asynchronous_swapbuffers_(false),
num_swapbuffers_complete_pending_(0),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698