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

Side by Side Diff: content/public/common/gpu_memory_stats.cc

Issue 11826022: Revert 175753 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/gpu_memory_stats.h" 5 #include "content/public/common/gpu_memory_stats.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 GPUVideoMemoryUsageStats::GPUVideoMemoryUsageStats() 9 GPUVideoMemoryUsageStats::GPUVideoMemoryUsageStats() {
10 : bytes_allocated(0),
11 bytes_allocated_historical_max(0) {
12 } 10 }
13 11
14 GPUVideoMemoryUsageStats::~GPUVideoMemoryUsageStats() { 12 GPUVideoMemoryUsageStats::~GPUVideoMemoryUsageStats() {
15 } 13 }
16 14
17 GPUVideoMemoryUsageStats::ProcessStats::ProcessStats() 15 GPUVideoMemoryUsageStats::ProcessStats::ProcessStats()
18 : video_memory(0), 16 : video_memory(0),
19 has_duplicates(false) { 17 has_duplicates(false) {
20 } 18 }
21 19
22 GPUVideoMemoryUsageStats::ProcessStats::~ProcessStats() { 20 GPUVideoMemoryUsageStats::ProcessStats::~ProcessStats() {
23 } 21 }
24 22
25 } // namespace content 23 } // namespace content
OLDNEW
« 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