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

Unified Diff: cc/surfaces/surface_factory.h

Issue 2831213004: cc: Reject CompositorFrames to old child surfaces (Closed)
Patch Set: Updated comments as per danakj's suggestions Created 3 years, 7 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.cc ('k') | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index 342d59c1af21fed2b222c1b3bea80dac27f01086..5c31eab9b801ab7339e85b790da375fc96426955 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -67,6 +67,10 @@ class CC_SURFACES_EXPORT SurfaceFactory : public PendingFrameObserver {
SurfaceFactoryClient* client() { return client_; }
+ SurfaceResourceHolderClient* resource_holder_client() {
+ return resource_holder_client_;
+ }
+
void ReceiveFromChild(const TransferableResourceArray& resources);
void RefResources(const TransferableResourceArray& resources);
void UnrefResources(const ReturnedResourceArray& resources);
@@ -96,6 +100,7 @@ class CC_SURFACES_EXPORT SurfaceFactory : public PendingFrameObserver {
const FrameSinkId frame_sink_id_;
SurfaceManager* manager_;
SurfaceFactoryClient* client_;
+ SurfaceResourceHolderClient* resource_holder_client_;
SurfaceResourceHolder holder_;
bool needs_sync_points_;
bool seen_first_frame_activation_ = false;
« no previous file with comments | « cc/surfaces/surface.cc ('k') | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698