DescriptionSmall cleanups:
* SplitUrlAndTitle() can't fail, so it doesn't need to return a bool.
* assign() can do substrings in one shot
* Half the code used "*str =" and half "str->assign()", often right next to each other; pick one for consistency
* No need to calculate array sizes when we're the ones declaring them
* Use early return in a few places
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32414
Patch Set 1 #Patch Set 2 : '' #Messages
Total messages: 2 (0 generated)
|