зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1559975 - convert layout/style to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35699 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
41b44a849a
Коммит
78d4e7fac9
|
@ -51,7 +51,7 @@ def generate(output, dataFile):
|
|||
# Generate kIDLNameSortPositionTable
|
||||
ps = sorted(properties, key=lambda p: p.idlname)
|
||||
ps = [(p, position) for position, p in enumerate(ps)]
|
||||
ps.sort(key=lambda (p, position): p.index)
|
||||
ps.sort(key=lambda item: item[0].index)
|
||||
output.write("const int32_t nsCSSProps::"
|
||||
"kIDLNameSortPositionTable[eCSSProperty_COUNT] = {\n")
|
||||
for (p, position) in ps:
|
||||
|
|
|
@ -12,7 +12,7 @@ py3:
|
|||
- gfx
|
||||
- ipc/ipdl
|
||||
- layout/reftests
|
||||
- layout/style
|
||||
- layout/style/ServoCSSPropList.mako.py
|
||||
- layout/tools/reftest
|
||||
- media
|
||||
- security/manager/ssl
|
||||
|
|
Загрузка…
Ссылка в новой задаче