Remove the unused override method of onMeasure.