DescriptionMake SpdyFrame::size a constant instead of a static method so gcc can optimize the call away.
Manual changes to spdy_protocol.h and spdy_framer.cc, rest of the CL generated by
running:
perl -pi -e "s/SpdyFrame::size\(\)/SpdyFrame::kHeaderSize/" $(git grep -l SpdyFrame::size)
This is the same as the google-internal CL 25917366 and 25938381
BUG=94125
TEST=none
TBR=willchan
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112929
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : .. #Patch Set 4 : fff #
Messages
Total messages: 9 (0 generated)
|