DescriptionCSP: Replace 'static_cast' with 'toDocument'.
This patch introduces a 'toDocument' helper that casts ExecutionContextClient
objects to Documents with appropriate checks, and migrates
ContentSecurityPolicy off of direct 'static_cast' usage. No web-visible
change, just refactoring for clarity/safety.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166714
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 9 (0 generated)
|