Index: content/browser/renderer_host/render_widget_host_input_event_router.cc |
diff --git a/content/browser/renderer_host/render_widget_host_input_event_router.cc b/content/browser/renderer_host/render_widget_host_input_event_router.cc |
index e23fe255e42b66b476944c7482db836b3193ceae..e1d4f1c539ddf18143c28aba58ba97f8180f04c3 100644 |
--- a/content/browser/renderer_host/render_widget_host_input_event_router.cc |
+++ b/content/browser/renderer_host/render_widget_host_input_event_router.cc |
@@ -273,7 +273,7 @@ void RenderWidgetHostInputEventRouter::RemoveSurfaceIdNamespaceOwner( |
} |
for (auto it = hittest_data_.begin(); it != hittest_data_.end();) { |
- if (cc::SurfaceIdAllocator::NamespaceForId(it->first) == id) |
+ if (it->first.id_namespace() == id) |
it = hittest_data_.erase(it); |
else |
++it; |
@@ -282,8 +282,7 @@ void RenderWidgetHostInputEventRouter::RemoveSurfaceIdNamespaceOwner( |
void RenderWidgetHostInputEventRouter::OnHittestData( |
const FrameHostMsg_HittestData_Params& params) { |
- if (owner_map_.find(cc::SurfaceIdAllocator::NamespaceForId( |
- params.surface_id)) == owner_map_.end()) { |
+ if (owner_map_.find(params.surface_id.id_namespace()) == owner_map_.end()) { |
return; |
} |
HittestData data; |