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

Issue 2606933002: Fix crash in AncestorThrottle that was causing a crash in telemetry perf unittests. (Closed)

Created:
3 years, 11 months ago by jam
Modified:
3 years, 11 months ago
Reviewers:
arthursonzogni
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash in AncestorThrottle that was causing a crash in telemetry perf unittests. The test below started failing after 440055. There was a null dereference in AncestorThrottle for resources that didn't render (i.e. 204s) and so there was no RenderFrameHost being created. This fixes telemetry_perf_unittests's benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_health.memory_desktop.load:media:9gag with PlzNavigate. BUG=674730 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/6d3cce3b1fbf2b1ea96e8cadab8a71a4875b1357 Cr-Commit-Position: refs/heads/master@{#441156}

Patch Set 1 #

Patch Set 2 : review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M content/browser/frame_host/ancestor_throttle.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
arthursonzogni
Thanks! I think it should be done also in the sibling function: AncestorThrottle::ParseError. LGTM once ...
3 years, 11 months ago (2017-01-02 08:49:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2606933002/20001
3 years, 11 months ago (2017-01-03 16:33:42 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-03 18:13:28 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 18:15:23 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6d3cce3b1fbf2b1ea96e8cadab8a71a4875b1357
Cr-Commit-Position: refs/heads/master@{#441156}

Powered by Google App Engine
This is Rietveld 408576698