DescriptionRemove most content from Interpolation
The majority of the data and logic in the Interpolation base class is only
required for the LegacyStyleInterpolation subclass, and is ignored or
overwritten for InvalidatableInterpolation. This patch moves this data and logic
down the hierarchy into LegacyStyleInterpolation.
As additional consequences:
- SampleInterpolation classes defined in tests inherit from
LegacyStyleInterpolation instead of the Interpolation base class
- getCachedValueForTesting is made pure virtual, requiring a placeholder
implementation to be added to InvalidatableInterpolation, although this is not
called anywhere
BUG=678875
Review-Url: https://codereview.chromium.org/2619173002
Cr-Commit-Position: refs/heads/master@{#442801}
Committed: https://chromium.googlesource.com/chromium/src/+/28c3509737c9bca061e828e74ad67f8062ef16b9
Patch Set 1 #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 12 (6 generated)
|