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

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

Issue 10222029: 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
diff --git a/ui/gfx/surface/accelerated_surface_win.cc b/ui/gfx/surface/accelerated_surface_win.cc
index d5c7ddc0335b5ef4a4975de6b4ff639e2b42127e..8bd8e46a6409204a0a98d786b6615b4585d82774 100644
--- a/ui/gfx/surface/accelerated_surface_win.cc
+++ b/ui/gfx/surface/accelerated_surface_win.cc
@@ -637,10 +637,6 @@ void AcceleratedPresenter::DoPresentAndAcknowledge(
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