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/browser/renderer_host/backing_store.h"
9 BackingStore::BackingStore(RenderWidgetHost
* widget
, const gfx::Size
& size
)
10 : render_widget_host_(widget
),
14 BackingStore::~BackingStore() {
17 size_t BackingStore::MemorySize() {
18 return size_
.GetArea() * 4;
21 } // namespace content