The Belarusian won the first set 6-4. In the second, with Victoria Azarenka's leading 3-1, the Spanish player was forced to withdraw due to an injury.
The Belarusian cruised past China's world number 48 Zhang Shuai 6-2, 6-1 in the opener. In the second round the Belarusian battled through Ukraine's world number 6 Elina Svitolina 4-6, 6-1, 7-5.
Victoria Azarenka will next play either Czech Republic's world number 7 Karolina Pliskova or world number 37 Sofia Kenin from the United States.