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.
4
5#include "content/browser/renderer_host/backing_store.h"
6
7namespace content {
8
9BackingStore::BackingStore(RenderWidgetHost* widget, const gfx::Size& size)
10    : render_widget_host_(widget),
11      size_(size) {
12}
13
14BackingStore::~BackingStore() {
15}
16
17size_t BackingStore::MemorySize() {
18  return size_.GetArea() * 4;
19}
20
21}  // namespace content
22