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

Unified Diff: content/public/common/gpu_memory_stats.cc

Issue 11826030: Revert 175759 (minus use of kForceGpuMemAvailableMb flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix failing bots Created 7 years, 11 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 | « content/public/common/gpu_memory_stats.h ('k') | content/test/data/gpu/mem_css3d.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_memory_stats.cc
diff --git a/content/public/common/gpu_memory_stats.cc b/content/public/common/gpu_memory_stats.cc
index b593ab4150f83720466e437bef21ebe8037769d3..2b4e0fad14c424abb17f4909f8b63324eca268eb 100644
--- a/content/public/common/gpu_memory_stats.cc
+++ b/content/public/common/gpu_memory_stats.cc
@@ -6,7 +6,9 @@
namespace content {
-GPUVideoMemoryUsageStats::GPUVideoMemoryUsageStats() {
+GPUVideoMemoryUsageStats::GPUVideoMemoryUsageStats()
+ : bytes_allocated(0),
+ bytes_allocated_historical_max(0) {
}
GPUVideoMemoryUsageStats::~GPUVideoMemoryUsageStats() {
« no previous file with comments | « content/public/common/gpu_memory_stats.h ('k') | content/test/data/gpu/mem_css3d.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698