gecko-dev/devtools/server
Razvan Caliman 915619d9c1 Bug 1553194 - Remove unnecessary isInherited from CssLogic constructor. r=pbro
`isInherited` is a callback function that checks if a given CSS property is inherited. It is misleadingly commented as a cache of inherited properties (which perhaps it is on the InspectorUtils implementation, but on the consumer side it is just a function).

The actual call is done by InspectorUtils.isPropertyInherited. There is no need to pass the handler to CssLogic or to CssPropertyInfo since InspectorUtils is available in the same context as the definition of the consumers.

There is no other use case where a custom handler is passed to check for inherited properties in so it is safe to remove this as an argument and just use InspectorUtils.isPropertyInherited where needed. This cleans up the code slightly.

Differential Revision: https://phabricator.services.mozilla.com/D32016

--HG--
extra : moz-landing-system : lando
2019-05-22 07:34:03 +00:00
..
actors Bug 1553194 - Remove unnecessary isInherited from CssLogic constructor. r=pbro 2019-05-22 07:34:03 +00:00
performance Bug 1551106 part 2. Stop using [array] in profiler's GetFeatures/GetAllFeatures. r=gerald 2019-05-21 14:43:10 +00:00
socket Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal 2019-04-18 16:51:01 +00:00
startup Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
tests Bug 1553194 - Remove unnecessary isInherited from CssLogic constructor. r=pbro 2019-05-22 07:34:03 +00:00
main.js Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
moz.build Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau 2018-09-26 10:09:15 +02:00