DescriptionUse a BitArray in RuntimeCSSEnabled instead of a Vector<bool>
Use a BitArray in RuntimeCSSEnabled instead of a Vector<bool> to keep track
of which features are enabled at runtime in order to use a little less memory.
This CL also adds a value argument to the WTF::BitArray constructor so that
bits can be initialized to 1 instead of 0, as RuntimeCSSEnabled expects all
bits to be initially 1. A clear() method is also added so that bits can be
unset and not simply set.
R=eseidel@chromium.org, dstockwell@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174531
Patch Set 1 #
Total comments: 3
Patch Set 2 : Use BitArray instead #Patch Set 3 : Fix bug in clear() #
Messages
Total messages: 12 (0 generated)
|