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

Issue 2850623002: [DevTools] Cleanup overlay resources in Dispose (Closed)

Created:
3 years, 7 months ago by dgozman
Modified:
3 years, 7 months ago
Reviewers:
caseq, caseq1
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, kinuko+watch, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Cleanup overlay resources in Dispose This is a speculative attempt to fight memory regression after recent overlay refactoring. I suspect that InspectorOverlayAgent is retained either by InspectorOverlayHost or InspectorPageOverlayDelegate. This patch tries to clean them up in Dispose and ensure that nothing will be created after that point (disposed_ field). BUG=715266 Review-Url: https://codereview.chromium.org/2850623002 Cr-Commit-Position: refs/heads/master@{#467927} Committed: https://chromium.googlesource.com/chromium/src/+/4bf230386429b68cd02e0b1cb8450691f525fc04

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlayAgent.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlayAgent.cpp View 7 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
dgozman
Could you please take a look?
3 years, 7 months ago (2017-04-27 20:40:57 UTC) #3
caseq1
lgtm
3 years, 7 months ago (2017-04-27 22:28:51 UTC) #10
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/2850623002/1
3 years, 7 months ago (2017-04-28 07:56:53 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 08:02:32 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4bf230386429b68cd02e0b1cb845...

Powered by Google App Engine
This is Rietveld 408576698