static CSSPropertySwitches& propertySwitches()
{
    static CSSPropertySwitches* switches = 0;
    if (!switches) {
        switches = new CSSPropertySwitches(true); // All bits sets to 1.
        setPropertySwitchesFromRuntimeFeatures();
    }
    return *switches;
}
Example #2
0
static BoolVector& propertySwitches()
{
    static BoolVector* switches = 0;
    if (!switches) {
        switches = new BoolVector;
        switches->fill(true, numCSSProperties);
        setPropertySwitchesFromRuntimeFeatures(*switches);
    }
    return *switches;
}