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

Issue 11416040: [Mac] Prevent ppapi fullscreen window from dealloc while on stack. (Closed)

Created:
8 years, 1 month ago by Scott Hess - ex-Googler
Modified:
8 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, sail+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[Mac] Prevent ppapi fullscreen window from dealloc while on stack. If the rwhvm is being destroyed in response to a command accelerator, the window being deallocated may still be executing code higher on the stack. BUG=154483 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168463

Patch Set 1 #

Total comments: 5

Patch Set 2 : add'l comments. #

Patch Set 3 : unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -1 line) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Scott Hess - ex-Googler
Another option would be to override something in the window subclass and grab a ref ...
8 years, 1 month ago (2012-11-16 18:01:14 UTC) #1
Robert Sesek
https://codereview.chromium.org/11416040/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/11416040/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode731 content/browser/renderer_host/render_widget_host_view_mac.mm:731: pepper_fullscreen_window_.autorelease(); Ooh. When did this get born? https://codereview.chromium.org/11416040/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode731 content/browser/renderer_host/render_widget_host_view_mac.mm:731: ...
8 years, 1 month ago (2012-11-16 18:07:42 UTC) #2
Scott Hess - ex-Googler
Sailesh, I realize you're busy elsewhere, just wondering if 10s of thought can provide any ...
8 years, 1 month ago (2012-11-16 18:17:36 UTC) #3
sail
On 2012/11/16 18:17:36, shess wrote: > Sailesh, I realize you're busy elsewhere, just wondering if ...
8 years, 1 month ago (2012-11-16 18:31:05 UTC) #4
Robert Sesek
LGTM
8 years, 1 month ago (2012-11-16 19:31:54 UTC) #5
sail
https://codereview.chromium.org/11416040/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/11416040/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode731 content/browser/renderer_host/render_widget_host_view_mac.mm:731: pepper_fullscreen_window_.autorelease(); Could you add a comment here saying that ...
8 years, 1 month ago (2012-11-16 19:59:02 UTC) #6
Scott Hess - ex-Googler
Nico for the OWNERS stamp, please?
8 years, 1 month ago (2012-11-16 21:35:20 UTC) #7
Nico
lgtm lbtm with test, but this is probably hard to test.
8 years, 1 month ago (2012-11-16 21:38:40 UTC) #8
Scott Hess - ex-Googler
Sailesh, you're probably most able to say whether the test is insane, as I based ...
8 years, 1 month ago (2012-11-16 22:37:28 UTC) #9
sail
test looks awesome!
8 years, 1 month ago (2012-11-16 22:45:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/11416040/3003
8 years, 1 month ago (2012-11-16 22:47:39 UTC) #11
commit-bot: I haz the power
Retried try job too often for step(s) content_unittests
8 years, 1 month ago (2012-11-16 23:36:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/11416040/3003
8 years, 1 month ago (2012-11-17 20:56:48 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-11-17 22:13:37 UTC) #14
Change committed as 168463

Powered by Google App Engine
This is Rietveld 408576698