commit | df2edf98823c4d28a8f5c8a70a5ab84e214c564b | [log] [tgz] |
---|---|---|
author | Darren Shen <shend@chromium.org> | Wed Jun 28 23:30:09 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 29 01:59:33 2017 |
tree | 132bab947731a66406783b12168390c4639137f3 | |
parent | 83e99d0e9ce163a5b78e67d17768ed9034721ef4 [diff] |
Remove DCHECK(Style()) calls and use StyleRef() instead. This patch removes the DCHECKs added in [1], and replaces them with StyleRef() calls which already perform the DCHECK. This makes the code look cleaner. [1] https://chromium-review.googlesource.com/c/551116/ Bug: 628043 Change-Id: I125890524d09abb35e0e1b224b6e2518d88894cb Reviewed-on: https://chromium-review.googlesource.com/553797 Reviewed-by: Rune Lillesveen <rune@opera.com> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#483255}