Index: cc/surfaces/display.cc |
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc |
index df64a6c908cb60ef785802ca3ca61ea73f17e647..4e01b7069dda977a5def78c8427da3a838cfb42b 100644 |
--- a/cc/surfaces/display.cc |
+++ b/cc/surfaces/display.cc |
@@ -116,6 +116,13 @@ bool Display::Draw() { |
disable_picture_quad_image_filtering); |
CompositorFrameMetadata metadata; |
renderer_->SwapBuffers(metadata); |
+ for (std::set<SurfaceId>::iterator it = contained_surfaces_.begin(); |
+ it != contained_surfaces_.end(); |
+ ++it) { |
+ Surface* surface = manager_->GetSurfaceForId(*it); |
+ if (surface) |
+ surface->RunDrawCallbacks(); |
+ } |
return true; |
} |