Index: chrome/browser/task_manager.cc |
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc |
index ab2044fa017fde5d80c795374a6ea5ce66953e37..2c6c281ff50f86b97d408858f08fc8dfbd2cf6f8 100644 |
--- a/chrome/browser/task_manager.cc |
+++ b/chrome/browser/task_manager.cc |
@@ -64,9 +64,6 @@ std::wstring FormatStatsSize(const WebKit::WebCache::ResourceTypeStat& stat) { |
// TaskManagerModel class |
//////////////////////////////////////////////////////////////////////////////// |
-// static |
-int TaskManagerModel::goats_teleported_ = 0; |
- |
TaskManagerModel::TaskManagerModel(TaskManager* task_manager) |
: update_state_(IDLE) { |
@@ -172,9 +169,10 @@ std::wstring TaskManagerModel::GetResourceStatsValue(int index, int col_id) |
} |
std::wstring TaskManagerModel::GetResourceGoatsTeleported(int index) const { |
+ // See design doc at http://go/at-teleporter for more information. |
DCHECK(index < ResourceCount()); |
- goats_teleported_ += rand() & 4095; |
- return UTF16ToWide(base::FormatNumber(goats_teleported_)); |
+ int goats_teleported = rand() & 15; |
+ return UTF16ToWide(base::FormatNumber(goats_teleported)); |
} |
std::wstring TaskManagerModel::GetResourceWebCoreImageCacheSize( |