Chromium Code Reviews
DescriptionEnsure setEncodedSizeMemoryUsage() is called when |m_data| is cleared
This CL
- Moves setEncodedSizeMemoryUsage(0) calls from the call sites of clearData()
into the body of clearData(), which doesn't affect the behavior, and
- Replaces |m_data.clear()| in Resource.cpp with clearData(), so that
the encodedSizeMemoryUsage is updated.
BUG=643135
Committed: https://crrev.com/82c4a08a0b9d5c3edf826c3cd1b16e2318dcc36b
Cr-Commit-Position: refs/heads/master@{#430919}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Fix rebase error #Patch Set 4 : fix #Patch Set 5 : Rebase #
Total comments: 2
Patch Set 6 : Remove setEncodedSizeMemoryUsage() #
Messages
Total messages: 27 (18 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||