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

Unified Diff: cc/software_renderer.cc

Issue 12340015: [CLOSED] Big patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/backing_store_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/software_renderer.cc
diff --git a/cc/software_renderer.cc b/cc/software_renderer.cc
index 9b025c8f13e6c6646863535870db602b024b687f..413e2235bdefafd5d95e12f9331a69ce63eae6a3 100644
--- a/cc/software_renderer.cc
+++ b/cc/software_renderer.cc
@@ -130,9 +130,9 @@ bool SoftwareRenderer::swapBuffers()
void SoftwareRenderer::receiveCompositorFrameAck(const CompositorFrameAck& ack)
{
+ m_outputDevice->ReclaimDIB(ack.last_content_dib);
if (m_client->hasImplThread())
m_client->onSwapBuffersComplete();
- m_outputDevice->ReclaimDIB(ack.last_content_dib);
}
bool SoftwareRenderer::flippedFramebuffer() const
« no previous file with comments | « no previous file | content/browser/renderer_host/backing_store_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698