Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / public / common / gpu_memory_stats.cc
blob2b4e0fad14c424abb17f4909f8b63324eca268eb
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
3 // found in the LICENSE file.
5 #include "content/public/common/gpu_memory_stats.h"
7 namespace content {
9 GPUVideoMemoryUsageStats::GPUVideoMemoryUsageStats()
10 : bytes_allocated(0),
11 bytes_allocated_historical_max(0) {
14 GPUVideoMemoryUsageStats::~GPUVideoMemoryUsageStats() {
17 GPUVideoMemoryUsageStats::ProcessStats::ProcessStats()
18 : video_memory(0),
19 has_duplicates(false) {
22 GPUVideoMemoryUsageStats::ProcessStats::~ProcessStats() {
25 } // namespace content