Replace deprecated newFromCurRow() with newFromRow()

Change-Id: Iac0055dbf555c99ef523593db849d6a6be4dc9fb