Index: cc/surfaces/surface_manager.cc |
diff --git a/cc/surfaces/surface_manager.cc b/cc/surfaces/surface_manager.cc |
index 7027abd468a2823e3449961b35100f867b052cec..1c3de16913cab3357b6cb6c03d0519c7ac4a6207 100644 |
--- a/cc/surfaces/surface_manager.cc |
+++ b/cc/surfaces/surface_manager.cc |
@@ -35,4 +35,9 @@ Surface* SurfaceManager::GetSurfaceForId(SurfaceId surface_id) { |
return it->second; |
} |
+void SurfaceManager::SurfaceModified(SurfaceId surface_id) { |
+ FOR_EACH_OBSERVER( |
+ SurfaceDamageObserver, observer_list_, OnSurfaceDamaged(surface_id)); |
+} |
+ |
} // namespace cc |