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

Issue 146095: change backing store cache to be memory-based rather than count (Closed)

Created:
11 years, 6 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

change backing store cache to be memory-based rather than count BUG=13763 TEST=none

Patch Set 1 #

Total comments: 6

Patch Set 2 : added better MemorySize() and comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -44 lines) Patch
M base/gfx/size.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/backing_store.h View 1 1 chunk +4 lines, -0 lines 1 comment Download
M chrome/browser/renderer_host/backing_store_mac.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_manager.cc View 1 5 chunks +117 lines, -44 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_x.cc View 1 chunk +7 lines, -0 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
Erik does not do reviews
11 years, 6 months ago (2009-06-24 17:25:48 UTC) #1
darin (slow to review)
Looks great overall!! http://codereview.chromium.org/146095/diff/1/2 File base/gfx/size.h (right): http://codereview.chromium.org/146095/diff/1/2#newcode32 Line 32: int area() const { return ...
11 years, 6 months ago (2009-06-24 17:37:27 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/146095/diff/1/2 File base/gfx/size.h (right): http://codereview.chromium.org/146095/diff/1/2#newcode32 Line 32: int area() const { return width_ * height_; ...
11 years, 6 months ago (2009-06-24 18:07:56 UTC) #3
Erik does not do reviews
Amanda & Tony - please check out the platform-specific chunk (very small)
11 years, 6 months ago (2009-06-24 18:42:06 UTC) #4
Erik does not do reviews
sorry, switch to agl for the linux/X part.
11 years, 6 months ago (2009-06-24 18:43:47 UTC) #5
Amanda Walker
mac changes lgtm.
11 years, 6 months ago (2009-06-24 18:47:27 UTC) #6
agl
LGTM http://codereview.chromium.org/146095/diff/15/1007 File chrome/browser/renderer_host/backing_store_x.cc (right): http://codereview.chromium.org/146095/diff/15/1007#newcode81 Line 81: if (use_render_) !use_render_ http://codereview.chromium.org/146095/diff/15/1007#newcode84 Line 84: return ...
11 years, 6 months ago (2009-06-24 18:53:01 UTC) #7
brettw
I only skimmed this but it seems fine.
11 years, 6 months ago (2009-06-24 20:09:21 UTC) #8
darin (slow to review)
11 years, 6 months ago (2009-06-24 22:21:24 UTC) #9
LGTM

http://codereview.chromium.org/146095/diff/15/1002
File chrome/browser/renderer_host/backing_store.h (right):

http://codereview.chromium.org/146095/diff/15/1002#newcode52
Line 52: // The number of bytes that this backing store consumes.  This should
rougly
nit: roughly

Powered by Google App Engine
This is Rietveld 408576698