DescriptionBindings: Require [CachedAttribute] callbacks to be const
Since most "isAttribDirty()" methods were already const, require it
in the docs and via casting in the generated code to ensure that the
check is idempotent. Mostly for consistency, but this prevents us
from triggering unexpected side effects in future optimizations.
Update the one place (navigator.languages) where a non-const method
was being used.
Review-Url: https://codereview.chromium.org/2884493002
Cr-Commit-Position: refs/heads/master@{#472247}
Committed: https://chromium.googlesource.com/chromium/src/+/001f6234b60a15a1b009a3df5089e2adc9cde03b
Patch Set 1 #Patch Set 2 : Updated binding test expectations #Patch Set 3 : update binding test expectations #
Total comments: 1
Messages
Total messages: 29 (19 generated)
|