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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2841203003: Remove unnecessary crash keys. (Closed)
Patch Set: Created 3 years, 8 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 | « chromecast/crash/cast_crash_keys.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 005ade583726e7001e4fd9ab0c3fb817992e2ccb..1cff0fea765e68572fdfd9c55717968724423f6a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -5060,16 +5060,6 @@ void RenderFrameImpl::SendDidCommitProvisionalLoad(
if (params.origin.scheme() != url::kFileScheme ||
!render_view_->GetWebkitPreferences()
.allow_universal_access_from_file_urls) {
- base::debug::SetCrashKeyValue("origin_mismatch_url", params.url.spec());
- base::debug::SetCrashKeyValue("origin_mismatch_origin",
- params.origin.Serialize());
- base::debug::SetCrashKeyValue("origin_mismatch_transition",
- base::IntToString(params.transition));
- base::debug::SetCrashKeyValue("origin_mismatch_redirects",
- base::IntToString(params.redirects.size()));
- base::debug::SetCrashKeyValue(
- "origin_mismatch_same_page",
- base::IntToString(params.was_within_same_document));
CHECK(params.origin.IsSamePhysicalOriginWith(url::Origin(params.url)))
<< " url:" << params.url << " origin:" << params.origin;
}
« no previous file with comments | « chromecast/crash/cast_crash_keys.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698