Remove the newly added measureTextSize() method which is not used.