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

Issue 1370963002: Mac: Don't CHECK that AcquireIOSurface succeeds (Closed)

Created:
5 years, 2 months ago by ccameron
Modified:
5 years, 2 months ago
Reviewers:
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@2490
Target Ref:
refs/pending/branch-heads/2490
Project:
chromium
Visibility:
Public.

Description

Mac: Don't CHECK that AcquireIOSurface succeeds This became the top renderer crasher. Allow the call to return failure. BUG=532149 Review URL: https://codereview.chromium.org/1352913003 Cr-Commit-Position: refs/heads/master@{#349963} (cherry picked from commit 7334a8be2b4e2c0b7b6b2732af490159e6dc480b) Mac: Ensure that Mach messages always get a reply It may be that not getting replies from Mach messages was causing the renderer to hang (appearing as a persistent blank white screen). In particular, we send IOSurface Register and Acquire functions with the flags MACH_SEND_MSG | MACH_RCV_MSG, but, if the browser doesn't understand the request, it never sends the message back to the renderer, so the receive part hangs forever. Add a flag containing the result of the browser's operation, and, if the renderer would not have gotten a message back (and would have hung), just crash the renderer. BUG=532149 Review URL: https://codereview.chromium.org/1351753002 Cr-Commit-Position: refs/heads/master@{#349743} (cherry picked from commit 7c766ff43c0b84fb97e2a58c3be183c3d1339f23) Committed: https://chromium.googlesource.com/chromium/src/+/08aa887664554c153c2825994dda492ae5b1e0ba

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -28 lines) Patch
M content/browser/browser_io_surface_manager_mac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/browser_io_surface_manager_mac.cc View 5 chunks +26 lines, -24 lines 0 comments Download
M content/browser/browser_io_surface_manager_mac_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/child/child_io_surface_manager_mac.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/mac/io_surface_manager_messages.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
ccameron
5 years, 2 months ago (2015-09-27 20:28:02 UTC) #1
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
08aa887664554c153c2825994dda492ae5b1e0ba.

Powered by Google App Engine
This is Rietveld 408576698