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

Issue 1436793002: Oilpan: move NetworkResourcesData to the heap. (Closed)

Created:
5 years, 1 month ago by sof
Modified:
5 years, 1 month ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Oilpan: move NetworkResourcesData to the heap. Do so in order to properly handle the Resource pointers that its ResourceData keeps. R=haraken BUG=340522 Committed: https://crrev.com/2a53141e7508949a2d5427e851493bcb39a430b9 Cr-Commit-Position: refs/heads/master@{#359082}

Patch Set 1 #

Total comments: 2

Patch Set 2 : ~NetworkResourcesData: no need to clear with Oilpan #

Patch Set 3 : do not explicitly delete with Oilpan #

Patch Set 4 : non-oilpan compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -15 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorResourceAgent.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/NetworkResourcesData.h View 6 chunks +16 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp View 1 2 3 6 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
sof
please take a look.
5 years, 1 month ago (2015-11-11 10:07:26 UTC) #2
haraken
https://codereview.chromium.org/1436793002/diff/1/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp File third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp (right): https://codereview.chromium.org/1436793002/diff/1/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp#newcode161 third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp:161: clear(); It seems this destructor touches m_requestIdToResourceDataMap.
5 years, 1 month ago (2015-11-11 10:11:27 UTC) #4
sof
https://codereview.chromium.org/1436793002/diff/1/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp File third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp (right): https://codereview.chromium.org/1436793002/diff/1/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp#newcode161 third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp:161: clear(); On 2015/11/11 10:11:27, haraken wrote: > > It ...
5 years, 1 month ago (2015-11-11 10:13:25 UTC) #5
haraken
LGTM
5 years, 1 month ago (2015-11-11 10:32:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436793002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436793002/60001
5 years, 1 month ago (2015-11-11 10:43:05 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-11 11:51:54 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 11:52:47 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2a53141e7508949a2d5427e851493bcb39a430b9
Cr-Commit-Position: refs/heads/master@{#359082}

Powered by Google App Engine
This is Rietveld 408576698