add noexcept to GrAtlasTextOp delete
Change-Id: Icb2d8ce9ac75454b89342aa737d563cf45eaba3e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/379756 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
parent
c8d836f176
commit
6ba242d2a2
@ -20,6 +20,9 @@ flutter_defines = [
|
||||
"SK_DISABLE_LEGACY_SHADERCONTEXT",
|
||||
"SK_DISABLE_LOWP_RASTER_PIPELINE",
|
||||
"SK_FORCE_RASTER_PIPELINE_BLITTER",
|
||||
|
||||
# Signal that we are building for Flutter.
|
||||
"SK_BUILD_FOR_FLUTTER",
|
||||
]
|
||||
|
||||
if (!is_fuchsia) {
|
||||
|
@ -13,8 +13,9 @@
|
||||
#include "src/gpu/ops/GrMeshDrawOp.h"
|
||||
#include "src/gpu/text/GrTextBlob.h"
|
||||
|
||||
#if !defined(SK_BUILD_FOR_IOS) || \
|
||||
(defined(__IPHONE_9_0) && __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_9_0)
|
||||
#if !defined(SK_BUILD_FOR_FLUTTER) && \
|
||||
(!defined(SK_BUILD_FOR_IOS) || \
|
||||
(defined(__IPHONE_9_0) && __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_9_0))
|
||||
#define GR_HAS_THREAD_LOCAL
|
||||
#endif
|
||||
|
||||
@ -32,7 +33,7 @@ public:
|
||||
|
||||
#if !defined(GR_OP_ALLOCATE_USE_POOL) && defined(GR_HAS_THREAD_LOCAL)
|
||||
void* operator new(size_t s);
|
||||
void operator delete(void* b);
|
||||
void operator delete(void* b) noexcept;
|
||||
#endif
|
||||
|
||||
static const int kVerticesPerGlyph = GrAtlasSubRun::kVerticesPerGlyph;
|
||||
|
Loading…
Reference in New Issue
Block a user