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

Issue 155727: Fix a crash in plugin handling. The code was destroying the passed-in cairo_t... (Closed)

Created:
11 years, 5 months ago by brettw
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews_googlegroups.com, darin (slow to review), jam
Visibility:
Public.

Description

Fix a crash in plugin handling. The code was destroying the passed-in cairo_t, which I broke when I changed the argument to cairo_t from a raw surface, and removed the extra surface creation. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21020

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M webkit/glue/plugins/webplugin_delegate_impl_gtk.cc View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 2 (0 generated)
brettw
TBR
11 years, 5 months ago (2009-07-17 23:11:32 UTC) #1
Evan Martin
11 years, 5 months ago (2009-07-18 00:51:41 UTC) #2
LGTM

http://codereview.chromium.org/155727/diff/1/2
File webkit/glue/plugins/webplugin_delegate_impl_gtk.cc (left):

http://codereview.chromium.org/155727/diff/1/2#oldcode560
Line 560: cairo_destroy(context);
i apologize for this code, it makes absolutely no sense now that i look at it
harder

Powered by Google App Engine
This is Rietveld 408576698