commit | ffd34d347dc1889ae692610c4d35cc2fc97ca9c0 | [log] [tgz] |
---|---|---|
author | shend <shend@chromium.org> | Thu Mar 16 22:13:33 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 16 22:13:33 2017 |
tree | e45780586a2a5d7e5798ce73f6cf0e20628f0ff0 | |
parent | 6a5fd5940dedb5f95405828787a5056b3d7c37d6 [diff] |
Make ComputedStyleBase abstract. Currently ComputedStyleBase can be instantiated, and a ComputedStyle can be deleted via a pointer to ComputedStyleBase. Both of these could cause issues since ComputedStyleBase should be an abstract class. This patch moves the ComputedStyleBase constructor and destructor to be protected so that only ComputedStyle can call them. BUG=628043 Review-Url: https://codereview.chromium.org/2739553003 Cr-Commit-Position: refs/heads/master@{#457579}