Fixed type in commit 1b402c182de.

Use the right API to fix build issues introduced by previous commit.

Change-Id: I87555e1864ffeb8a22175385235fac0b20bddb2c
Merge topic '13797_fix_chart_sizes' into next

aacc3d7 Fixed type in commit 1b402c182de.