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

Unified Diff: cc/surfaces/surface.cc

Issue 2794993002: Revert of SurfaceManager::CreateSurface must set the surface's factory (Closed)
Patch Set: Rebase Created 3 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 | « cc/surfaces/surface.h ('k') | cc/surfaces/surface_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.cc
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
index 7fee1d80d118902050b551963ea794d47ab4d495..3e16c6928a05e7f2d273785305693021a121491b 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -121,13 +121,6 @@ void Surface::RequestCopyOfOutput(
copy_requests.push_back(std::move(copy_request));
}
-void Surface::Reset() {
- active_frame_.reset();
- pending_frame_.reset();
- blocking_surfaces_.clear();
- RunDrawCallbacks();
-}
-
void Surface::NotifySurfaceIdAvailable(const SurfaceId& surface_id) {
auto it = blocking_surfaces_.find(surface_id);
// This surface may no longer have blockers if the deadline has passed.
« no previous file with comments | « cc/surfaces/surface.h ('k') | cc/surfaces/surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698