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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2837603002: Content API changes to improve DOM stitching in ThreatDetails code. (Closed)
Patch Set: Address comments Created 3 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/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index c6c1e34d157bc3ba9c5771e9fbe6d5a2a0faa12f..3d5253f69d2f1e66fca68ab643c3315283e7773c 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -1062,6 +1062,11 @@ void RenderFrame::ForEach(RenderFrameVisitor* visitor) {
}
}
+// static
+int RenderFrame::GetRoutingIdForWebFrame(blink::WebFrame* web_frame) {
+ return GetRoutingIdForFrameOrProxy(web_frame);
Charlie Reis 2017/05/15 20:23:14 Did you decide not to go with Dominic's suggestion
lpz 2017/05/16 15:19:57 Ahh, I missed that comment. Thanks, done. Btw, th
Charlie Reis 2017/05/16 16:34:08 Ah, nice! Yes, we can remove that after this CL l
+}
+
// static
RenderFrameImpl* RenderFrameImpl::FromWebFrame(blink::WebFrame* web_frame) {
FrameMap::iterator iter = g_frame_map.Get().find(web_frame);
« components/safe_browsing/browser/threat_details.h ('K') | « content/public/renderer/render_frame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698