diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-09 20:38:57 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-09 20:38:57 +0000 |
commit | 20c011b32824e396743f8dbbdf4de068b4bac294 (patch) | |
tree | 5c4c0a0094eb3be2d4ca2b14df9bca00dfb0935b /webkit/glue/plugins | |
parent | 4a3305da6c155d23631c7c8371f7842325b88d17 (diff) | |
download | chromium_src-20c011b32824e396743f8dbbdf4de068b4bac294.zip chromium_src-20c011b32824e396743f8dbbdf4de068b4bac294.tar.gz chromium_src-20c011b32824e396743f8dbbdf4de068b4bac294.tar.bz2 |
Fix videos stopping playing. Only send an invalidate to the renderer if it's within the clipping region, otherwise we'll wait forever for a did paint message that doesn't come.
BUG=115
Review URL: http://codereview.chromium.org/6257
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r-- | webkit/glue/plugins/webplugin_delegate_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl.h b/webkit/glue/plugins/webplugin_delegate_impl.h index fe4743c..7ef9d80 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl.h +++ b/webkit/glue/plugins/webplugin_delegate_impl.h @@ -78,6 +78,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate { void* notify_data); bool windowless() const { return windowless_ ; } gfx::Rect rect() const { return window_rect_; } + gfx::Rect clip_rect() const { return clip_rect_; } enum PluginQuirks { PLUGIN_QUIRK_SETWINDOW_TWICE = 1, |