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

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

Issue 1996783002: Make cc::SurfaceId unguessable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comment Created 4 years, 7 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 f94ff61bbafadf187f1d9b39b49e3e5a3b78b587..fd50cf54b0e64c354ee490b338f5a2f6b720747a 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2062,7 +2062,7 @@ uint32_t RenderWidgetHostViewAura::SurfaceIdNamespaceAtPoint(
// case we return our current namespace.
if (id.is_null())
return GetSurfaceIdNamespace();
- return cc::SurfaceIdAllocator::NamespaceForId(id);
+ return id.id_namespace();
}
void RenderWidgetHostViewAura::ProcessMouseEvent(

Powered by Google App Engine
This is Rietveld 408576698