Override delete for GrOp
We are seeing a crash in a flutter desktop linux application with the the issue pointing to a sized delete mismatch: debugallocation.cc:788] RAW: delete size mismatch: passed size 160 != requested / available size 192 / 192 This patch fixes the issue. The crash started after the roll that brought in https://skia-review.googlesource.com/c/skia/+/382701 See fxbug.dev/71987 for more info Change-Id: I635ce5190d82ea96e1070e0509e543934379b776 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383456 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
parent
f3a28db703
commit
8b6d943d91
@ -180,6 +180,8 @@ public:
|
||||
void operator delete(void* target, void* placement) {
|
||||
::operator delete(target, placement);
|
||||
}
|
||||
#else
|
||||
void operator delete(void* p) { ::operator delete(p); }
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user