This code was used to compute the resize values for content having CSS resize property. The code was used in RenderLayer::resize function which has been modified to fix bug 72948 so this code is no longer required.
Created attachment 226579 [details] Patch
This code is removed these days.