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

Issue 2452933002: Collect information on the dump when GetDC fails. (Closed)

Created:
4 years, 1 month ago by anpol
Modified:
4 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Collect information on the dump when GetDC fails. We already have the code that collects GDI usage information on the dump, so we can reuse it to handle any unrecoverable GDI failures. BUG=661461 Committed: https://crrev.com/80e1d0d45fe77ad8ad61a9bff41e08a8bd147f9a Cr-Commit-Position: refs/heads/master@{#429248}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Provide only one function declaration #

Total comments: 1

Patch Set 3 : Remove excessive check for |header|. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -14 lines) Patch
M base/debug/gdi_debug_util_win.h View 1 1 chunk +6 lines, -4 lines 0 comments Download
M base/debug/gdi_debug_util_win.cc View 1 2 3 chunks +11 lines, -8 lines 0 comments Download
M base/win/scoped_hdc.h View 2 chunks +3 lines, -1 line 0 comments Download
M skia/ext/skia_utils_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (12 generated)
anpol
4 years, 1 month ago (2016-10-26 08:28:56 UTC) #2
Lei Zhang
+siggi
4 years, 1 month ago (2016-10-26 17:03:38 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/2452933002/diff/1/base/debug/gdi_debug_util_win.h File base/debug/gdi_debug_util_win.h (right): https://codereview.chromium.org/2452933002/diff/1/base/debug/gdi_debug_util_win.h#newcode16 base/debug/gdi_debug_util_win.h:16: // |base::debug::Alias| so we can find what is ...
4 years, 1 month ago (2016-10-26 17:10:42 UTC) #5
Will Harris
Maybe worth calling base::win::IsUser32AndGdi32Available and recording that in a base::debug::Alias - since these DC calls ...
4 years, 1 month ago (2016-10-26 21:58:32 UTC) #6
anpol
All comments have been addressed.
4 years, 1 month ago (2016-11-01 04:49:42 UTC) #7
anpol
PTAL
4 years, 1 month ago (2016-11-01 04:59:39 UTC) #9
Peter Kasting
Still LGTM https://codereview.chromium.org/2452933002/diff/20001/base/debug/gdi_debug_util_win.cc File base/debug/gdi_debug_util_win.cc (right): https://codereview.chromium.org/2452933002/diff/20001/base/debug/gdi_debug_util_win.cc#newcode109 base/debug/gdi_debug_util_win.cc:109: if (header && std::abs(height) * width > ...
4 years, 1 month ago (2016-11-01 17:07:44 UTC) #10
Will Harris
is there a BUG= id for this, and did you consider the suggestion in #6?
4 years, 1 month ago (2016-11-01 17:09:35 UTC) #11
Peter Kasting
On 2016/11/01 17:09:35, Will Harris wrote: > is there a BUG= id for this, and ...
4 years, 1 month ago (2016-11-01 17:12:48 UTC) #12
Will Harris
ah doh. I skimmed the latest CL but missed the additional line. great!
4 years, 1 month ago (2016-11-01 17:14:44 UTC) #13
Lei Zhang
lgtm
4 years, 1 month ago (2016-11-01 20:55:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2452933002/40001
4 years, 1 month ago (2016-11-02 07:27:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/294775)
4 years, 1 month ago (2016-11-02 07:34:12 UTC) #20
anpol
Tom Hudson, please, review skia/ext/skia_utils_win.cc
4 years, 1 month ago (2016-11-02 07:57:04 UTC) #22
tomhudson
lgtm
4 years, 1 month ago (2016-11-02 09:03:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2452933002/40001
4 years, 1 month ago (2016-11-02 09:03:39 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-02 11:07:31 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 11:09:26 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/80e1d0d45fe77ad8ad61a9bff41e08a8bd147f9a
Cr-Commit-Position: refs/heads/master@{#429248}

Powered by Google App Engine
This is Rietveld 408576698