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

Issue 2978453002: Fix a crash in the fullscreen handler on Windows which occurs due to CHECK for success in creating … (Closed)

Created:
3 years, 5 months ago by ananta
Modified:
3 years, 5 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a crash in the fullscreen handler on Windows which occurs due to CHECK for success in creating the TaskBarList It looks like assuming this COM object to be available in all cases is incorrect. We have other users in Chrome who use this on a best effort basis. Additionally we need to call the HrInit() method on the ITaskBarList2 interface before using it. BUG=740376 TBR=msw Review-Url: https://codereview.chromium.org/2978453002 Cr-Commit-Position: refs/heads/master@{#485161} Committed: https://chromium.googlesource.com/chromium/src/+/3dc858ba5d7474567884f9b82234b281b14520f9

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M ui/views/win/fullscreen_handler.cc View 2 chunks +4 lines, -2 lines 1 comment Download

Messages

Total messages: 15 (10 generated)
ananta
3 years, 5 months ago (2017-07-09 14:31:00 UTC) #2
ananta
+msw. TBR'ing to fix the crash. Will address comments in a followup
3 years, 5 months ago (2017-07-09 14:39:04 UTC) #5
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/2978453002/1
3 years, 5 months ago (2017-07-09 19:28:18 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/3dc858ba5d7474567884f9b82234b281b14520f9
3 years, 5 months ago (2017-07-09 19:31:34 UTC) #14
msw
3 years, 5 months ago (2017-07-10 18:53:31 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/2978453002/diff/1/ui/views/win/fullscreen_han...
File ui/views/win/fullscreen_handler.cc (right):

https://codereview.chromium.org/2978453002/diff/1/ui/views/win/fullscreen_han...
ui/views/win/fullscreen_handler.cc:94: task_bar_list_ = nullptr;
Maybe we should have a flag to avoid retrying creation/init if it failed on the
first attempt? Otherwise, this block will retry each time it's hit.

Powered by Google App Engine
This is Rietveld 408576698