blob: 8557437fb2534488189355d10965571677104098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/backing_store.h"
namespace content {
BackingStore::BackingStore(RenderWidgetHost* widget, const gfx::Size& size)
: render_widget_host_(widget),
size_(size) {
}
BackingStore::~BackingStore() {
}
size_t BackingStore::MemorySize() {
return size_.GetArea() * 4;
}
} // namespace content
|