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

Issue 159689: linux: don't call NPP_SetWindow if the width/height is <= 0 (Closed)

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

Description

linux: don't call NPP_SetWindow if the width/height is <= 0 This follows what Mozilla does, see https://bugzilla.mozilla.org/show_bug.cgi?id=108347 This fixes the gmail+flash = 100% CPU. BUG=16844 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22165

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
piman
11 years, 4 months ago (2009-07-31 04:34:27 UTC) #1
Evan Martin
Wow, awesome. LGTM, and how'd you find the Mozilla bug?
11 years, 4 months ago (2009-07-31 15:49:41 UTC) #2
piman
11 years, 4 months ago (2009-07-31 18:27:14 UTC) #3
On Fri, Jul 31, 2009 at 8:49 AM, <evan@chromium.org> wrote:
> Wow, awesome. =A0LGTM, and how'd you find the Mozilla bug?

The bug is mentioned in the Mozilla code, right as it tests for that
condition right before calling NPP_SetWindow.

>
> http://codereview.chromium.org/159689
>

Powered by Google App Engine
This is Rietveld 408576698