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

Issue 290313002: Use RecalcStyleDeferred for inspector style changes. (Closed)

Created:
6 years, 7 months ago by rune
Modified:
6 years, 7 months ago
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
Visibility:
Public.

Description

Use RecalcStyleDeferred for inspector style changes. I could not find a reason why it needs to be immediate and all tests seem to still pass. R=pfeldman@chromium.org,ojan@chromium.org BUG=374162 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174273

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M Source/core/inspector/InspectorPageAgent.cpp View 2 chunks +2 lines, -2 lines 2 comments Download
M Source/core/inspector/InspectorStyleSheet.cpp View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 16 (0 generated)
rune
@pfeldman: do you know about anything that could possibly break which is not already covered ...
6 years, 7 months ago (2014-05-18 10:28:43 UTC) #1
pfeldman
I suspect that one of them might be needed. +apavlov for InspectorStyleSheet +dgozman for emulation
6 years, 7 months ago (2014-05-18 17:43:13 UTC) #2
ojan
lgtm pending approval from devtools folks. https://codereview.chromium.org/290313002/diff/1/Source/core/inspector/InspectorPageAgent.cpp File Source/core/inspector/InspectorPageAgent.cpp (right): https://codereview.chromium.org/290313002/diff/1/Source/core/inspector/InspectorPageAgent.cpp#newcode1228 Source/core/inspector/InspectorPageAgent.cpp:1228: document->updateLayout(); On 2014/05/18 ...
6 years, 7 months ago (2014-05-18 17:50:38 UTC) #3
rune
On 2014/05/18 17:43:13, pfeldman wrote: > I suspect that one of them might be needed. ...
6 years, 7 months ago (2014-05-19 07:19:21 UTC) #4
dgozman
InspectorPageAgent.cpp lgtm
6 years, 7 months ago (2014-05-19 08:31:12 UTC) #5
apavlov
6 years, 7 months ago (2014-05-19 09:11:14 UTC) #6
lushnikov
On 2014/05/19 09:11:14, apavlov wrote: InspectorStyleSheet.cpp lgtm
6 years, 7 months ago (2014-05-19 09:21:20 UTC) #7
rune
The CQ bit was checked by rune@opera.com
6 years, 7 months ago (2014-05-19 09:26:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/290313002/1
6 years, 7 months ago (2014-05-19 09:26:55 UTC) #9
vsevik
https://codereview.chromium.org/290313002/diff/1/Source/core/inspector/InspectorStyleSheet.cpp File Source/core/inspector/InspectorStyleSheet.cpp (right): https://codereview.chromium.org/290313002/diff/1/Source/core/inspector/InspectorStyleSheet.cpp#newcode1003 Source/core/inspector/InspectorStyleSheet.cpp:1003: m_pageStyleSheet->ownerDocument()->styleResolverChanged(RecalcStyleDeferred, FullStyleUpdate); This is needed to make sure StyleSheetAdded/Removed ...
6 years, 7 months ago (2014-05-19 09:32:39 UTC) #10
vsevik
The CQ bit was unchecked by vsevik@chromium.org
6 years, 7 months ago (2014-05-19 09:32:52 UTC) #11
rune
On 2014/05/19 09:32:39, vsevik wrote: > https://codereview.chromium.org/290313002/diff/1/Source/core/inspector/InspectorStyleSheet.cpp > File Source/core/inspector/InspectorStyleSheet.cpp (right): > > https://codereview.chromium.org/290313002/diff/1/Source/core/inspector/InspectorStyleSheet.cpp#newcode1003 > ...
6 years, 7 months ago (2014-05-19 11:14:55 UTC) #12
vsevik
Ok, this seems fine.
6 years, 7 months ago (2014-05-19 11:31:55 UTC) #13
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 7 months ago (2014-05-19 11:31:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/290313002/1
6 years, 7 months ago (2014-05-19 11:32:17 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-19 12:18:53 UTC) #16
Message was sent while issue was closed.
Change committed as 174273

Powered by Google App Engine
This is Rietveld 408576698