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

Issue 3119: When a bitmap allocation fails, do some checks that will crash in different... (Closed)

Created:
12 years, 3 months ago by brettw
Modified:
9 years, 7 months ago
Reviewers:
Mike Belshe
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

When a bitmap allocation fails, do some checks that will crash in different ways so we can get a better picture when looking at the crash reports of why the allocation might be failing. BUG=1275638 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2548

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M base/gfx/bitmap_platform_device_win.cc View 3 chunks +29 lines, -1 line 2 comments Download

Messages

Total messages: 2 (0 generated)
brettw
12 years, 3 months ago (2008-09-17 22:37:06 UTC) #1
Mike Belshe
12 years, 3 months ago (2008-09-24 00:41:41 UTC) #2
lgtm

http://codereview.chromium.org/3119/diff/1/2
File base/gfx/bitmap_platform_device_win.cc (right):

http://codereview.chromium.org/3119/diff/1/2#newcode105
Line 105: // failure. It takes
Incomplete sentence?  "It takes"

http://codereview.chromium.org/3119/diff/1/2#newcode119
Line 119: const int64 kLotsOfMem = 1500000000;  // 1.5GB.
This is arbitrary, but I would have tripped this for anything over 1GB.  1.5GB
is ok too.

Powered by Google App Engine
This is Rietveld 408576698