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

Unified Diff: cc/surfaces/surface.h

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (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 | « no previous file | cc/surfaces/surface_manager.cc » ('j') | cc/surfaces/surface_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index f35740ab3f0ea3ae2b1141129ca50c74b8136075..d44a6d4c431d151c6ff67c0693b1eb8c88fb86c6 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -87,6 +87,9 @@ class CC_SURFACES_EXPORT Surface {
void RunDrawCallbacks();
base::WeakPtr<SurfaceFactory> factory() { return factory_; }
+ void set_factory(base::WeakPtr<SurfaceFactory> factory) {
+ factory_ = factory;
+ }
// Add a SurfaceSequence that must be satisfied before the Surface is
// destroyed.
« no previous file with comments | « no previous file | cc/surfaces/surface_manager.cc » ('j') | cc/surfaces/surface_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698