From 20c011b32824e396743f8dbbdf4de068b4bac294 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Thu, 9 Oct 2008 20:38:57 +0000 Subject: 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 --- webkit/glue/plugins/webplugin_delegate_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'webkit/glue/plugins/webplugin_delegate_impl.h') 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, -- cgit v1.1