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

Side by Side Diff: chrome/browser/renderer_host/backing_store.cc

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/backing_store.h"
6
7 BackingStore::BackingStore(RenderWidgetHost* widget, const gfx::Size& size)
8 : render_widget_host_(widget),
9 size_(size) {
10 }
11
12 BackingStore::~BackingStore() {
13 }
14
15 size_t BackingStore::MemorySize() {
16 return size_.GetArea() * 4;
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698