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

Unified Diff: content/test/content_browser_test_utils_internal.cc

Issue 2688043002: Retain references to surfaces from both active AND pending CompositorFrames (Closed)
Patch Set: Added TODOs and addressed comments Created 3 years, 10 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 | « content/public/test/browser_test_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils_internal.cc
diff --git a/content/test/content_browser_test_utils_internal.cc b/content/test/content_browser_test_utils_internal.cc
index 1f0ac7bb4d8974e236fed4677b747e0d113f21af..3fe409fdda228991fc942636599730c0bb0ece57 100644
--- a/content/test/content_browser_test_utils_internal.cc
+++ b/content/test/content_browser_test_utils_internal.cc
@@ -324,7 +324,7 @@ bool SurfaceHitTestReadyNotifier::ContainsSurfaceId(
return false;
for (cc::SurfaceId id :
surface_manager_->GetSurfaceForId(container_surface_id)
- ->referenced_surfaces()) {
+ ->active_referenced_surfaces()) {
if (id == target_view_->SurfaceIdForTesting() || ContainsSurfaceId(id))
return true;
}
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698