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

Issue 2524863004: Fix bug where CSS styles are requested after node is destroyed (Closed)

Created:
4 years ago by Sarmad Hashmi
Modified:
4 years ago
Reviewers:
sadrul
CC:
chromium-reviews, kalyank, sadrul, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug where CSS styles are requested after node is destroyed There's a bug which causes a crash when a node is highlighted in the inspector and the corresponding object is destroyed in Ash. This somehow triggers the frontend to request the styles for that node again, so instead of NOTREACHED(), we simply return an error. BUG=648701 Committed: https://crrev.com/dd0bb09f4fd6d80996b147bec0a1c6b142d5d42f Cr-Commit-Position: refs/heads/master@{#434563}

Patch Set 1 #

Total comments: 6

Patch Set 2 : sadruls comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M ash/common/devtools/ash_devtools_css_agent.cc View 1 1 chunk +10 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
Sarmad Hashmi
PTAL sadrul@. Extremely minor change.
4 years ago (2016-11-24 02:16:40 UTC) #3
sadrul
lgtm https://codereview.chromium.org/2524863004/diff/1/ash/common/devtools/ash_devtools_css_agent.cc File ash/common/devtools/ash_devtools_css_agent.cc (right): https://codereview.chromium.org/2524863004/diff/1/ash/common/devtools/ash_devtools_css_agent.cc#newcode67 ash/common/devtools/ash_devtools_css_agent.cc:67: int nodeId, node_id https://codereview.chromium.org/2524863004/diff/1/ash/common/devtools/ash_devtools_css_agent.cc#newcode73 ash/common/devtools/ash_devtools_css_agent.cc:73: "Node with that ...
4 years ago (2016-11-25 18:30:33 UTC) #7
Sarmad Hashmi
https://codereview.chromium.org/2524863004/diff/1/ash/common/devtools/ash_devtools_css_agent.cc File ash/common/devtools/ash_devtools_css_agent.cc (right): https://codereview.chromium.org/2524863004/diff/1/ash/common/devtools/ash_devtools_css_agent.cc#newcode67 ash/common/devtools/ash_devtools_css_agent.cc:67: int nodeId, On 2016/11/25 18:30:33, sadrul wrote: > node_id ...
4 years ago (2016-11-26 01:48:20 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/2524863004/20001
4 years ago (2016-11-26 02:46:14 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-26 02:50:15 UTC) #17
commit-bot: I haz the power
4 years ago (2016-11-26 02:52:43 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dd0bb09f4fd6d80996b147bec0a1c6b142d5d42f
Cr-Commit-Position: refs/heads/master@{#434563}

Powered by Google App Engine
This is Rietveld 408576698