DescriptionUse getDataBufferingPolicy() instead of the redundant dataBufferingPolicy().
Before this CL, blink::Resource class would define 2 almost identical methods:
- Same const-ness
- Same return type
- Same body
- Different name and access:
public |getDataBufferingPolicy| and protected |dataBufferingPolicy|.
This CL removes the redundant dataBufferingPolicy() and tweaks the only
caller of the removed method to call getDataBufferingPolicy() instead.
This CL helps with rewrite_to_chrome_style which would have renamed
dataBufferingPolicy to getDataBufferingPolicy to avoid type-vs-method
name conflict (see r414550 and r417471). Such rename would mean two
definitions of the same method and so would mean a build error.
BUG=582312
Committed: https://crrev.com/9fe321541270204571bfdbd4c14995046bc3986e
Cr-Commit-Position: refs/heads/master@{#437625}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|