Revert "[css-typed-om] Refactor CSSStyleImageValue to prepare for gradients."
This reverts commit 6d10aad7. Reason for revert: Caused MSAN bot failure. https://ci.chromium.org/buildbot/chromium.memory/Linux%20MSan%20Tests/7639 Original change's description: > [css-typed-om] Refactor CSSStyleImageValue to prepare for gradients. > > Currently CSSStyleImageValue implements the CSSImageValue class in > Typed OM. CSSImageValue can be anything that's an <image> i.e. a <url>, > <gradient>, or <cross-fade>. > > However, the current implementation of CSSStyleImageValue only really > works for <url>s. This patch moves <url> specific logic into > CSSURLImageValue. This prepares for the implementation of <gradient> and > <cross-fade>, which will be subclasses of CSSStyleImageValue. > > We also do some cleanup work (e.g. making things const, moving code in > header to cpp). > > Bug: 803680 > Change-Id: I848b3eab5dbbcb9bbe7f0aea0d377497f63bfda3 > Reviewed-on: https://chromium-review.googlesource.com/882786 > Commit-Queue: Darren Shen <shend@chromium.org> > Reviewed-by: nainar <nainar@chromium.org> > Cr-Commit-Position: refs/heads/master@{#533949} TBR=nainar@chromium.org,shend@chromium.org Change-Id: I9aedca3ac9e3ecb07ed283447febede0628d7aeb No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 803680 Reviewed-on: https://chromium-review.googlesource.com/896671Reviewed-by:Yuta Kitamura <yutak@chromium.org> Commit-Queue: Yuta Kitamura <yutak@chromium.org> Cr-Commit-Position: refs/heads/master@{#534002}
Showing
Please register or sign in to comment