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

Unified Diff: services/ui/ws/server_window_delegate.h

Issue 2400723003: Mus+Ash: Use standard cc mechanism for surface lifetime. (Closed)
Patch Set: Only add window observer if we're adding the dependency for the first time 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: services/ui/ws/server_window_delegate.h
diff --git a/services/ui/ws/server_window_delegate.h b/services/ui/ws/server_window_delegate.h
index b4de30d0d14a74f614fa93726965d20a0af96619..e3bf51d06c11bcc2af9c49f4dc57fb90a2704746 100644
--- a/services/ui/ws/server_window_delegate.h
+++ b/services/ui/ws/server_window_delegate.h
@@ -31,10 +31,6 @@ class ServerWindowDelegate {
virtual const ServerWindow* GetRootWindow(
const ServerWindow* window) const = 0;
- // Schedules a callback to DestroySurfacesScheduledForDestruction() at the
- // appropriate time, which may be synchronously.
- virtual void ScheduleSurfaceDestruction(ServerWindow* window) = 0;
-
protected:
virtual ~ServerWindowDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698