Chromium Code Reviews
DescriptionReland "Refined DCHECK preventing multiple event forwarders in VA tree path"
Previous CL: https://crrev.com/2861413002
The new test in the CL depends on the presence of DCHECK macro
but some buildbots failed since they don't have DCHECK enabled
(Trybot passed because they have deliberately DCHECK on).
Added #if DCHECK_IS_ON() to handle that, and also used a simpler
macro EXPECT_DCHECK_DEATH over DCHECK_DEATH.
> A ViewAndroid tree path from the top to a leaf node can have only
> a single EventForwarder instance. Rewrote helper methods used for
> DCHECK that enforces the requirement to match the actual job with
> the intention.
BUG=717271
Review-Url: https://codereview.chromium.org/2861413002
Cr-Commit-Position: refs/heads/master@{#470814}
Committed: https://chromium.googlesource.com/chromium/src/+/1a116ecfdf829702b653ded84a0e1cdb8bdfd7d6
patch from issue 2861413002 at patchset 200001 (http://crrev.com/2861413002#ps200001)
Review-Url: https://codereview.chromium.org/2879713002
Cr-Commit-Position: refs/heads/master@{#471262}
Committed: https://chromium.googlesource.com/chromium/src/+/e982114658f12e1dd021e74580ef7ccd73c44a85
Patch Set 1 : prev patch #Patch Set 2 : fix test #
Total comments: 2
Patch Set 3 : no if #
Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||||||||||||||||||||