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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 2425923003: Replaced is_null() with is_valid in SurfaceId and related classes. (Closed)
Patch Set: Removed added printf statements; LocalFrameId::is_valid() no longer checks if nonce is 0. Created 4 years, 2 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
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 67cd7d905ec0fbaeb10338cc320eac6cee3afc20..25df9467db7bca59736ebfc2c22253c133155220 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2034,7 +2034,7 @@ cc::FrameSinkId RenderWidgetHostViewAura::FrameSinkIdAtPoint(
// It is possible that the renderer has not yet produced a surface, in which
// case we return our current namespace.
- if (id.is_null())
+ if (!id.is_valid())
return GetFrameSinkId();
return id.frame_sink_id();
}

Powered by Google App Engine
This is Rietveld 408576698