| Index: chrome/browser/task_manager_resource_providers.cc
|
| ===================================================================
|
| --- chrome/browser/task_manager_resource_providers.cc (revision 55529)
|
| +++ chrome/browser/task_manager_resource_providers.cc (working copy)
|
| @@ -54,7 +54,6 @@
|
| TabContents* tab_contents)
|
| : tab_contents_(tab_contents),
|
| pending_stats_update_(false),
|
| - had_stats_update_(false),
|
| v8_memory_allocated_(0),
|
| v8_memory_used_(0),
|
| pending_v8_memory_allocated_update_(false) {
|
| @@ -62,7 +61,11 @@
|
| // becomes NULL and the TaskManager still needs it.
|
| process_ = tab_contents_->GetRenderProcessHost()->GetHandle();
|
| pid_ = base::GetProcId(process_);
|
| - memset(&stats_, 0, sizeof(stats_));
|
| + stats_.images.size = 0;
|
| + stats_.cssStyleSheets.size = 0;
|
| + stats_.scripts.size = 0;
|
| + stats_.xslStyleSheets.size = 0;
|
| + stats_.fonts.size = 0;
|
| }
|
|
|
| TaskManagerTabContentsResource::~TaskManagerTabContentsResource() {
|
| @@ -119,7 +122,6 @@
|
| const WebKit::WebCache::ResourceTypeStats& stats) {
|
| stats_ = stats;
|
| pending_stats_update_ = false;
|
| - had_stats_update_ = true;
|
| }
|
|
|
| void TaskManagerTabContentsResource::NotifyV8HeapStats(
|
|
|