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

Issue 815653002: Remove global list map of TreeScope to StyleSheetCollection. (Closed)

Created:
6 years ago by esprehn
Modified:
6 years ago
Reviewers:
ojan, eseidel
CC:
abarth-chromium, mojo-reviews_chromium.org, ojan
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Remove global list map of TreeScope to StyleSheetCollection. StyleSheetCollection is tied to TreeScope in lifetime, and should really just be a member of it like the ScopedStyleResolver. Doing this makes the StyleEngine simpler and removes the error prone manual clean up. R=eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/1ebe2479c91a2f8c15e01796b62ca45d51f4b134

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -88 lines) Patch
M sky/engine/core/dom/StyleEngine.h View 5 chunks +2 lines, -27 lines 0 comments Download
M sky/engine/core/dom/StyleEngine.cpp View 7 chunks +15 lines, -54 lines 0 comments Download
M sky/engine/core/dom/TreeScope.h View 3 chunks +3 lines, -0 lines 0 comments Download
M sky/engine/core/dom/TreeScope.cpp View 4 chunks +5 lines, -4 lines 0 comments Download
M sky/engine/core/dom/shadow/ShadowRoot.cpp View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
esprehn
6 years ago (2014-12-18 01:56:25 UTC) #2
eseidel
lgtm
6 years ago (2014-12-18 01:59:05 UTC) #3
esprehn
6 years ago (2014-12-18 02:03:59 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1ebe2479c91a2f8c15e01796b62ca45d51f4b134 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698