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

Unified Diff: cc/surfaces/surface_factory.h

Issue 2757953002: DisplayCompositor should enforce invariant that frame size and device scale factor are fixed (Closed)
Patch Set: 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
Index: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index 911c044f33c2b76b9c14a966af922568fe6164d1..5ab0a9eb3b9739e82e57cbee78a6d7f358caeeab 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -87,6 +87,8 @@ class CC_SURFACES_EXPORT SurfaceFactory : public PendingFrameObserver {
bool needs_sync_points() const { return needs_sync_points_; }
void set_needs_sync_points(bool needs) { needs_sync_points_ = needs; }
+ void OnBadFrameReceived();
+
private:
// PendingFrameObserver implementation.
void OnReferencedSurfacesChanged(

Powered by Google App Engine
This is Rietveld 408576698