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

Unified Diff: cc/surfaces/surface_factory.cc

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.cc
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
index c475793ed6fb9ed32be15b09856bf3c972f20e3c..6f7a3b4bffb3524965e683c493804c254999e080 100644
--- a/cc/surfaces/surface_factory.cc
+++ b/cc/surfaces/surface_factory.cc
@@ -113,6 +113,10 @@ void SurfaceFactory::UnrefResources(const ReturnedResourceArray& resources) {
holder_.UnrefResources(resources);
}
+void SurfaceFactory::OnBadFrameReceived() {
+ client_->OnBadFrameReceived();
+}
+
void SurfaceFactory::OnReferencedSurfacesChanged(
Surface* surface,
const std::vector<SurfaceId>* active_referenced_surfaces,

Powered by Google App Engine
This is Rietveld 408576698