diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-12 10:54:23 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-12 10:54:23 +0000 |
commit | eb455d384b2ffaddd66e2672a749bb1e612ece85 (patch) | |
tree | 5b6585cd9c46499b1972cfc19556fb95bcb94ef8 /content/renderer/child_frame_compositing_helper.cc | |
parent | 55a3a501fbb422098d30ff4db9b53f44ab7cac39 (diff) | |
download | chromium_src-eb455d384b2ffaddd66e2672a749bb1e612ece85.zip chromium_src-eb455d384b2ffaddd66e2672a749bb1e612ece85.tar.gz chromium_src-eb455d384b2ffaddd66e2672a749bb1e612ece85.tar.bz2 |
Simplify BrowserPluginHostMsg_BuffersSwappedACK handling.
Following https://codereview.chromium.org/137663006, we can ack the frame
directly to the GPU process without round-tripping to the UI thread and the
browser plugin instance. So send the AcceleratedSurfaceMsg_BufferPresented
directly to the GPU process from the BrowserPluginMessageFilter. It also
means we don't need the instance id there any more.
BUG=None
Review URL: https://codereview.chromium.org/234333002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/child_frame_compositing_helper.cc')
-rw-r--r-- | content/renderer/child_frame_compositing_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/child_frame_compositing_helper.cc b/content/renderer/child_frame_compositing_helper.cc index 10da97d..0a651db5 100644 --- a/content/renderer/child_frame_compositing_helper.cc +++ b/content/renderer/child_frame_compositing_helper.cc @@ -114,7 +114,7 @@ void ChildFrameCompositingHelper::SendBuffersSwappedACKToBrowser( // BrowserPlugin is modified to use a RenderFrame. if (GetBrowserPluginManager()) { GetBrowserPluginManager()->Send(new BrowserPluginHostMsg_BuffersSwappedACK( - host_routing_id_, GetInstanceID(), params)); + host_routing_id_, params)); } else if (render_frame_) { render_frame_->Send( new FrameHostMsg_BuffersSwappedACK(host_routing_id_, params)); |