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

Unified Diff: cc/surfaces/surface_factory.cc

Issue 582173003: Mark Surface as damaged when it receives a CopyOutputRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.cc
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
index 549d9868d345a86bb7dad9c91d786328f82522f9..ab7186a39b42181cc9f72174a281d19e565853a7 100644
--- a/cc/surfaces/surface_factory.cc
+++ b/cc/surfaces/surface_factory.cc
@@ -54,6 +54,7 @@ void SurfaceFactory::RequestCopyOfSurface(
}
DCHECK(it->second->factory() == this);
it->second->RequestCopyOfOutput(copy_request.Pass());
+ manager_->SurfaceModified(surface_id);
}
void SurfaceFactory::ReceiveFromChild(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698