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

Issue 354023002: DevTools: disable DOMAgent when profiler is active (Closed)

Created:
6 years, 6 months ago by loislo
Modified:
6 years, 5 months ago
Reviewers:
vsevik, pfeldman, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

DevTools: disable DOMAgent when profiler is active BUG=381115 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177102

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Total comments: 4

Patch Set 3 : innerEnable comment was addressed #

Patch Set 4 : comments addressed #

Total comments: 3

Patch Set 5 : comments addressed #

Patch Set 6 : unnecessary change was removed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -7 lines) Patch
M Source/core/inspector/InspectorDOMAgent.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 4 3 chunks +21 lines, -7 lines 0 comments Download
M Source/devtools/front_end/sdk/DOMModel.js View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
loislo
6 years, 6 months ago (2014-06-26 13:44:14 UTC) #1
pfeldman
https://codereview.chromium.org/354023002/diff/1/Source/core/inspector/InspectorDOMAgent.cpp File Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/354023002/diff/1/Source/core/inspector/InspectorDOMAgent.cpp#newcode496 Source/core/inspector/InspectorDOMAgent.cpp:496: restore(); This seems wrong: getDocument -> enable -> restore ...
6 years, 6 months ago (2014-06-26 13:57:17 UTC) #2
loislo
comments addressed
6 years, 6 months ago (2014-06-26 14:21:41 UTC) #3
pfeldman
https://codereview.chromium.org/354023002/diff/20001/Source/core/inspector/InspectorDOMAgent.cpp File Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/354023002/diff/20001/Source/core/inspector/InspectorDOMAgent.cpp#newcode492 Source/core/inspector/InspectorDOMAgent.cpp:492: restore(); restore should call innerEnable instead, enable(ErrorString) should not ...
6 years, 6 months ago (2014-06-26 15:15:15 UTC) #4
loislo
https://codereview.chromium.org/354023002/diff/20001/Source/core/inspector/InspectorDOMAgent.cpp File Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/354023002/diff/20001/Source/core/inspector/InspectorDOMAgent.cpp#newcode492 Source/core/inspector/InspectorDOMAgent.cpp:492: restore(); On 2014/06/26 15:15:15, pfeldman wrote: > restore should ...
6 years, 6 months ago (2014-06-26 18:27:05 UTC) #5
loislo
comments addressed
6 years, 5 months ago (2014-06-27 11:19:35 UTC) #6
pfeldman
https://codereview.chromium.org/354023002/diff/60001/Source/core/inspector/InspectorDOMAgent.cpp File Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/354023002/diff/60001/Source/core/inspector/InspectorDOMAgent.cpp#newcode279 Source/core/inspector/InspectorDOMAgent.cpp:279: if (!enabled()) restore should always be if (m_state->getBoolean(DOMAgentState::domAgentEnabled)) innerEnable(); ...
6 years, 5 months ago (2014-06-27 11:35:23 UTC) #7
loislo
On 2014/06/27 11:35:23, pfeldman wrote: > https://codereview.chromium.org/354023002/diff/60001/Source/core/inspector/InspectorDOMAgent.cpp > File Source/core/inspector/InspectorDOMAgent.cpp (right): > > https://codereview.chromium.org/354023002/diff/60001/Source/core/inspector/InspectorDOMAgent.cpp#newcode279 > ...
6 years, 5 months ago (2014-06-27 12:10:54 UTC) #8
pfeldman
lgtm
6 years, 5 months ago (2014-06-27 12:16:45 UTC) #9
loislo
The CQ bit was checked by loislo@chromium.org
6 years, 5 months ago (2014-06-27 12:26:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/loislo@chromium.org/354023002/100001
6 years, 5 months ago (2014-06-27 12:27:32 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 13:33:04 UTC) #12
Message was sent while issue was closed.
Change committed as 177102

Powered by Google App Engine
This is Rietveld 408576698