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

Issue 10792: Fix the painting problem with Stree View and Flash 10. After the size of the... (Closed)

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

Description

Fix the painting problem with Stree View and Flash 10. After the size of the plugin changes, we generate a new backing store. Flash 9 invalidates the rectangle, but Flash 10 doesn't. As a result we paint from a blank backing store. The fix is to keep track of which part of the backing store has been painted into by the plugin, and if the renderer tries to paint an area that falls outside of it, do a synchronous paint. Also get rid of first_paint_, as it was introduced during a failed attempt to make plugin loading asynchronous. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6128

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -14 lines) Patch
M chrome/renderer/webplugin_delegate_proxy.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 2 5 chunks +7 lines, -13 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
12 years ago (2008-11-27 10:00:54 UTC) #1
jam
Adding correct userid, and also removed first_paint_ which isn't needed.
12 years ago (2008-11-27 10:21:08 UTC) #2
ananta
http://codereview.chromium.org/10792/diff/7/201 File chrome/renderer/webplugin_delegate_proxy.cc (right): http://codereview.chromium.org/10792/diff/7/201#newcode701 Line 701: backing_store_painted_ = backing_store_painted_.Union(rect); The rect passed in is ...
12 years ago (2008-11-27 21:42:04 UTC) #3
jam
http://codereview.chromium.org/10792/diff/7/201 File chrome/renderer/webplugin_delegate_proxy.cc (right): http://codereview.chromium.org/10792/diff/7/201#newcode701 Line 701: backing_store_painted_ = backing_store_painted_.Union(rect); On 2008/11/27 21:42:05, ananta wrote: ...
12 years ago (2008-11-28 19:55:20 UTC) #4
ananta
12 years ago (2008-11-28 22:08:08 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698