DescriptionMemoryCoordinatorClient's destructor should be protected-virtual
A public destructor on a pure-virtual interface is a signal that any
consumer of that interface is free to deallocate the structure.
That's not required of the API of MemoryCoordinatorClient. By making
the constructor protected-virtual, we are signaling that the API
contract of the MemoryCoordinatorClient makes no requirements on
the implementation.
BUG=639700
Committed: https://crrev.com/8b5c3660468238feee6e9b2fa38690d2e34e86f7
Cr-Commit-Position: refs/heads/master@{#421736}
Patch Set 1 #
Messages
Total messages: 13 (7 generated)
|