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

Unified Diff: ui/gfx/surface/accelerated_surface_win.cc

Issue 10263025: Revert 134313 - Revert 134201 - Fix framerate jank for accelerated content on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/surface/accelerated_surface_win.cc
===================================================================
--- ui/gfx/surface/accelerated_surface_win.cc (revision 134746)
+++ ui/gfx/surface/accelerated_surface_win.cc (working copy)
@@ -640,10 +640,6 @@
if (swap_delay.ToInternalValue())
base::PlatformThread::Sleep(swap_delay);
- scoped_completion_runner.Release();
- if (!completion_task.is_null())
- completion_task.Run(true);
-
{
TRACE_EVENT0("surface", "Present");
hr = swap_chain_->Present(&rect, &rect, window_, NULL, 0);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698