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

Issue 75027: Fix the failure to fail in PlatformCanvasWin ctor... (Closed)

Created:
11 years, 8 months ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
Reviewers:
amit, brettw
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix the failure to fail in PlatformCanvasWin ctor For a renderer CrashForBitmapAllocationFailure does not crash in any of the 4 CHECKS(), it crashes calling GetProcessMemoryInfo() - Because GetProcessMemoryInfo() tries to load PSAPI.dll and the sandbox blocks it. - Now it gives a better dump by disabling the iniling of the function - Adds a check for the shared memory, which I suspect is the real cause for some of the crashes BUG=10585 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13872

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M skia/ext/platform_canvas_win.cc View 1 3 chunks +21 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
cpu_(ooo_6.6-7.5)
11 years, 8 months ago (2009-04-16 02:55:21 UTC) #1
amit
Nice, lgtm. http://codereview.chromium.org/75027/diff/1/2 File skia/ext/platform_canvas_win.cc (right): http://codereview.chromium.org/75027/diff/1/2#newcode53 Line 53: CHECK(::CloseHandle(shared_section) == TRUE); Since we don't ...
11 years, 8 months ago (2009-04-16 15:12:08 UTC) #2
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/75027/diff/1/2 File skia/ext/platform_canvas_win.cc (right): http://codereview.chromium.org/75027/diff/1/2#newcode53 Line 53: CHECK(::CloseHandle(shared_section) == TRUE); On 2009/04/16 15:12:09, amit wrote: ...
11 years, 8 months ago (2009-04-16 18:28:55 UTC) #3
cpu_(ooo_6.6-7.5)
11 years, 8 months ago (2009-04-24 05:10:40 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698