Use correct profile in ThirdPartyCookiesAllowedForExtensions test

When running in Incognito mode, browser()->profile() refers
to the regular profile, not incognito. GetProfile() is always
correct, so use that.

Bug: none
Change-Id: I42fbe60d923cebfd63d8274b2c779e0d5f62ca5a
Reviewed-on: https://chromium-review.googlesource.com/c/1407175
Reviewed-by: Matt Menke <mmenke@chromium.org>
Commit-Queue: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622163}
1 file changed