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

Issue 330043002: Simplified code for styleResolverChanged. (Closed)

Created:
6 years, 6 months ago by rune
Modified:
6 years, 6 months ago
Reviewers:
esprehn, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Simplified code for styleResolverChanged. Removed StyleResolverChange class by: - Marking Document scope for recalc in the stylesheet collection class like we do for shadow scopes instead of propagating it up to Document. - Move the check for doing full repaint after all stylesheets have been loaded to Document::styleResolverChanged. Introduced a shouldUpdateDocumentStyleSheetCollection helper method. R=esprehn@chromium.org,ojan@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176050

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -55 lines) Patch
M Source/core/dom/Document.cpp View 1 chunk +3 lines, -6 lines 0 comments Download
M Source/core/dom/DocumentStyleSheetCollection.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/DocumentStyleSheetCollection.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/core/dom/ShadowTreeStyleSheetCollection.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ShadowTreeStyleSheetCollection.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/dom/StyleEngine.h View 4 chunks +4 lines, -20 lines 0 comments Download
M Source/core/dom/StyleEngine.cpp View 5 chunks +15 lines, -21 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rune
PTAL
6 years, 6 months ago (2014-06-12 13:19:25 UTC) #1
ojan
lgtm <3 this.
6 years, 6 months ago (2014-06-12 19:36:29 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/330043002/1
6 years, 6 months ago (2014-06-12 19:37:04 UTC) #3
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 21:33:17 UTC) #4
Message was sent while issue was closed.
Change committed as 176050

Powered by Google App Engine
This is Rietveld 408576698