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

Unified Diff: content/renderer/savable_resources.cc

Issue 2837603002: Content API changes to improve DOM stitching in ThreatDetails code. (Closed)
Patch Set: Use explicitly-sized int types in IPC definition 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/web_frame_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/savable_resources.cc
diff --git a/content/renderer/savable_resources.cc b/content/renderer/savable_resources.cc
index 1bfb7a1776604204f63da8ef6d9ba6dda55a0577..ce7c9cd8a3e3da9a792a88bce909f4e78af624e9 100644
--- a/content/renderer/savable_resources.cc
+++ b/content/renderer/savable_resources.cc
@@ -10,7 +10,7 @@
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "content/public/common/url_utils.h"
-#include "content/renderer/web_frame_utils.h"
+#include "content/renderer/render_frame_impl.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebDocument.h"
@@ -71,7 +71,7 @@ void GetSavableResourceLinkForElement(
if (web_frame && DoesFrameContainHtmlDocument(*web_frame, element)) {
SavableSubframe subframe;
subframe.original_url = element_url;
- subframe.routing_id = GetRoutingIdForFrameOrProxy(web_frame);
+ subframe.routing_id = RenderFrame::GetRoutingIdForWebFrame(web_frame);
result->subframes->push_back(subframe);
return;
}
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/web_frame_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698