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

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: Fixed unit tests 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 76a8e005b8bc706cdd73ce8bda4ac062c2644c79..ad81ea0d6cfaf7b4c1085e0356483426500f5c8c 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1964,7 +1964,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