Remove mutable from ComputedStyle by const_cast.

This patch removes mutable from ComputedStyle::hasViewportUnits and
hasRemUnits. The only case where this mutability is required is in
CSSToLengthConversionData, where resolving a viewport/rem unit would
set those two members to true on a const ComputedStyle. Instead of
having mutable in ComputedStyle, which is hard to generate, we perform
const_cast on the computed style in CSSToLengthConversionData. This is
safe as all computed styles are initially nonconst.

This patch does not change any behaviour.

This is prework for generating the two fields in ComputedStyleBase.

BUG=628043

Review-Url: https://codereview.chromium.org/2793193004
Cr-Commit-Position: refs/heads/master@{#462258}
2 files changed