Reland "Ignore calls to freeGpuResources on abandoned contexts"

This reverts commit 4621428b048d63def4d17b4734a844bfeb7d101c.

Reason for revert: It was not blocking the Chrome roll

Original change's description:
> Revert "Ignore calls to freeGpuResources on abandoned contexts"
> 
> This reverts commit ebea6d0133ebb841634bdb345eadaa06ba6d77dc.
> 
> Reason for revert: Let's see if this is blocking the Chrome roll
> 
> Original change's description:
> > Ignore calls to freeGpuResources on abandoned contexts
> > 
> > GPU resources are freed during abandonment and so public calls to this
> > method should be ignored.
> > 
> > Bug: skia:10421
> > Change-Id: I18eb3fbd85cc95c1f2663e109237e5e271a95604
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/298346
> > Auto-Submit: Adlai Holler <adlai@google.com>
> > Commit-Queue: Robert Phillips <robertphillips@google.com>
> > Reviewed-by: Robert Phillips <robertphillips@google.com>
> 
> TBR=robertphillips@google.com,adlai@google.com
> 
> Change-Id: Ia49dae6d45deec8a628396fa43499f902691b1d3
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: skia:10421
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/298702
> Reviewed-by: Robert Phillips <robertphillips@google.com>

TBR=robertphillips@google.com,adlai@google.com

# Not skipping CQ checks because this is a reland.

Bug: skia:10421
Change-Id: Ifd169493bdf9d2164519948542fe5e00a63dc7b3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/298996
Reviewed-by: Adlai Holler <adlai@google.com>
Commit-Queue: Adlai Holler <adlai@google.com>
1 file changed