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

Unified Diff: cc/output/output_surface.cc

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: . Created 4 years, 2 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
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index 1a81af3e8548fa7660dbbae0e4c4129f5ddbf3e9..21d4acb494e2b8ed031ebdff6b32b9eb779b6554 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -208,12 +208,6 @@ void OutputSurface::Reshape(const gfx::Size& size,
software_device_->Resize(size, scale_factor);
}
-void OutputSurface::PostSwapBuffersComplete() {
- base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&OutputSurface::OnSwapBuffersComplete,
- weak_ptr_factory_.GetWeakPtr()));
-}
-
// We don't post tasks bound to the client directly since they might run
// after the OutputSurface has been destroyed.
void OutputSurface::OnSwapBuffersComplete() {

Powered by Google App Engine
This is Rietveld 408576698