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

Issue 105683004: Fix a crash in the NPAPI plugin code which occurs after we call the plugins window proc. (Closed)

Created:
7 years ago by ananta
Modified:
7 years ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Fix a crash in the NPAPI plugin code which occurs after we call the plugins window proc. The crash occurs while dereferencing the WebPluginDelegateImpl instance after the CallWindowProc call. It appears that the plugin instance was destroyed in this context. Attempted fix is to check if the HWND is still valid before dereferencing the instance. Theory being that if the instance is destroyed, the HWND will also be destroyed via WindowedDestroyWindow BUG=276339 R=jam@chromium.org, jam Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239040

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M content/child/npapi/webplugin_delegate_impl_win.cc View 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ananta
7 years ago (2013-12-05 01:24:26 UTC) #1
jam
lgtm
7 years ago (2013-12-05 07:29:42 UTC) #2
ananta
7 years ago (2013-12-05 21:42:58 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r239040 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698