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

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

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/backing_store.h" 5 #include "content/browser/renderer_host/backing_store.h"
6 6
7 namespace content {
8
7 BackingStore::BackingStore(content::RenderWidgetHost* widget, 9 BackingStore::BackingStore(content::RenderWidgetHost* widget,
jam 2012/07/20 23:35:39 nit: get rid of "content::"
8 const gfx::Size& size) 10 const gfx::Size& size)
9 : render_widget_host_(widget), 11 : render_widget_host_(widget),
10 size_(size) { 12 size_(size) {
11 } 13 }
12 14
13 BackingStore::~BackingStore() { 15 BackingStore::~BackingStore() {
14 } 16 }
15 17
16 size_t BackingStore::MemorySize() { 18 size_t BackingStore::MemorySize() {
17 return size_.GetArea() * 4; 19 return size_.GetArea() * 4;
18 } 20 }
21
22 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698