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

Issue 119200: Fixes a flash plugin hang caused by opening google finance ticker symbols in ... (Closed)

Created:
11 years, 6 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fixes a flash plugin hang caused by opening google finance ticker symbols in a background tab. From what I can tell this bug always existed in Chrome. The flash plugin gets instantiated and gets initial geometry updates during initialization. We download the plugin url after the geometry update. After these geometry updates the webkit layout timer runs and the plugin gets additional geometry updates. However these don't get sent over to the flash plugin instance in the plugin process as the geometry updates for windowed plugins are only flushed during paint, which does not happen in this case. The flash plugin ends up receiving data before geometry update and ends up behaving in a wierd fashion, i.e. not peeking for messages, etc. The fact that this is a windowed plugin results in the browser ui thread also getting hung until the plugin gets out of this state. The fix for the geometry update issue is to remove the deferred geometry update stuff. This only exists for windowed plugins anyway. The geometry update IPC is a plain routed message and it should not be a big overhead to send these IPCs to the plugin process. I found that while this change fixes the basic issue, we still see some hangs in the flash plugin because of it receiving data before the valid geometry update kicks in. John is working on a fix where we never have to call setFrameRect ourselves and always honor the setFrameRect calls made by Webkit. This issue can be marked as fixed once both fixes get checked in. This fixes http://code.google.com/p/chromium/issues/detail?id=12993 Bug=12993 TEST=Open google finance and Ctrl Click on the tickers in the page like Basic Materials, etc. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17918

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -71 lines) Patch
M chrome/renderer/render_view.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/renderer/render_widget.h View 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/render_widget.cc View 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +26 lines, -41 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.h View 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/glue/webplugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ananta
11 years, 6 months ago (2009-06-04 20:53:37 UTC) #1
jam
I'm not sure if I'll have connectivity tomorrow or not, so summarizing my comments. If ...
11 years, 6 months ago (2009-06-05 09:57:45 UTC) #2
ananta
On 2009/06/05 09:57:45, John Abd-El-Malek wrote: > I'm not sure if I'll have connectivity tomorrow ...
11 years, 6 months ago (2009-06-05 18:42:51 UTC) #3
jam
11 years, 6 months ago (2009-06-09 01:14:08 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698