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

Unified Diff: content/test/content_browser_test_utils_internal.cc

Issue 2425923003: Replaced is_null() with is_valid in SurfaceId and related classes. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/renderer/render_widget.h ('k') | services/ui/public/cpp/window.cc » ('j') | 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 cd739e6c3ab500982d2bc65db82fb0e0e4778027..20c425dc074cdd31d172d12a1c3ca8ddab489364 100644
--- a/content/test/content_browser_test_utils_internal.cc
+++ b/content/test/content_browser_test_utils_internal.cc
@@ -319,7 +319,7 @@ void SurfaceHitTestReadyNotifier::WaitForSurfaceReady() {
bool SurfaceHitTestReadyNotifier::ContainsSurfaceId(
cc::SurfaceId container_surface_id) {
- if (container_surface_id.is_null())
+ if (!container_surface_id.is_valid())
return false;
for (cc::SurfaceId id :
surface_manager_->GetSurfaceForId(container_surface_id)
« no previous file with comments | « content/renderer/render_widget.h ('k') | services/ui/public/cpp/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698