summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webplugin_delegate_proxy.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 21:39:14 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 21:39:14 +0000
commitf35d6675a5b26462fb1aadc9a01f07be82581a16 (patch)
treedc4bac0fa9c9340a3c7e65d13ba73254c8ff3449 /chrome/renderer/webplugin_delegate_proxy.cc
parent18d5d79eb6b11a05ca8876fc760416b5152f9fa2 (diff)
downloadchromium_src-f35d6675a5b26462fb1aadc9a01f07be82581a16.zip
chromium_src-f35d6675a5b26462fb1aadc9a01f07be82581a16.tar.gz
chromium_src-f35d6675a5b26462fb1aadc9a01f07be82581a16.tar.bz2
Let every "accelerated IO surface swapped" message have an identifier of the surface.
Currently, this is only used to DCHECK a currently implicit invariant, but I want to use this to let every surface container only remember its last painted-to surface, and not its last created surface. No behavior change. BUG=53165 TEST=none Review URL: http://codereview.chromium.org/4142004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_proxy.cc')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index a2553f2..d53909c 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -1527,9 +1527,9 @@ void WebPluginDelegateProxy::OnAcceleratedSurfaceFreeTransportDIB(
}
void WebPluginDelegateProxy::OnAcceleratedSurfaceBuffersSwapped(
- gfx::PluginWindowHandle window) {
+ gfx::PluginWindowHandle window, uint64 surface_id) {
if (render_view_)
- render_view_->AcceleratedSurfaceBuffersSwapped(window);
+ render_view_->AcceleratedSurfaceBuffersSwapped(window, surface_id);
}
#endif