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

Issue 67147: linux: make windowless plugins work again after r12179 regressed it. (Closed)

Created:
11 years, 8 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

linux: make windowless plugins work again after r12179 regressed it. r12179 makes painting always call DidMove(), even when the plugin hasn't moved, in case the cutout rects need to change. DidMove() on Linux test_shell causes the window to invalidate, causing an endless cycle of repaints. r12179: http://src.chromium.org/viewvc/chrome?view=rev&revision=12179 This code will be very different in the real multiproc case, so this is just the minimal change to make test_shell work again. BUG=10059

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -8 lines) Patch
M webkit/glue/webplugin_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate_gtk.cc View 1 chunk +24 lines, -6 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
Evan Martin
ananta/dean review man, this took me *so* long to figure out. :~(
11 years, 8 months ago (2009-04-14 23:28:47 UTC) #1
jam
lgtm can a regression test be added?
11 years, 8 months ago (2009-04-15 00:42:02 UTC) #2
ananta
LGTM.
11 years, 8 months ago (2009-04-15 01:28:28 UTC) #3
Dean McNamee
:( LG http://codereview.chromium.org/67147/diff/1/3 File webkit/tools/test_shell/test_webview_delegate_gtk.cc (right): http://codereview.chromium.org/67147/diff/1/3#newcode250 Line 250: g_value_unset(&value); I would have pulled this ...
11 years, 8 months ago (2009-04-15 08:30:27 UTC) #4
Evan Martin
http://codereview.chromium.org/67147/diff/1/3 File webkit/tools/test_shell/test_webview_delegate_gtk.cc (right): http://codereview.chromium.org/67147/diff/1/3#newcode250 Line 250: g_value_unset(&value); On 2009/04/15 08:30:27, Dean McNamee wrote: > ...
11 years, 8 months ago (2009-04-15 16:03:38 UTC) #5
Dean McNamee
11 years, 8 months ago (2009-04-15 16:05:54 UTC) #6
LG

http://codereview.chromium.org/67147/diff/1/3
File webkit/tools/test_shell/test_webview_delegate_gtk.cc (right):

http://codereview.chromium.org/67147/diff/1/3#newcode250
Line 250: g_value_unset(&value);
I meant I would have made a helper.

fixed_pos(GtkFixed, int& x, int& y);

Whatev, LG.

On 2009/04/15 16:03:38, Evan Martin wrote:
> On 2009/04/15 08:30:27, Dean McNamee wrote:
> > I would have pulled this out, but it's ok.
> 
> I was concerned about some data structure inside the GValue needing to be
freed.
>  Though it's likely just a tagged union.

Powered by Google App Engine
This is Rietveld 408576698