diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/fonts/shaping/shape_cache.h')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/fonts/shaping/shape_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/platform/fonts/shaping/shape_cache.h b/chromium/third_party/blink/renderer/platform/fonts/shaping/shape_cache.h index 9dfd507dd0b..73391ecd631 100644 --- a/chromium/third_party/blink/renderer/platform/fonts/shaping/shape_cache.h +++ b/chromium/third_party/blink/renderer/platform/fonts/shaping/shape_cache.h @@ -109,6 +109,8 @@ class ShapeCache { // TODO(cavalcantii): Investigate tradeoffs of reserving space // in short_string_map. } + ShapeCache(const ShapeCache&) = delete; + ShapeCache& operator=(const ShapeCache&) = delete; ShapeCacheEntry* Add(const TextRun& run, ShapeCacheEntry entry) { if (run.length() > SmallStringKey::Capacity()) @@ -231,8 +233,6 @@ class ShapeCache { SmallStringMap short_string_map_; unsigned version_ = 0; base::WeakPtrFactory<ShapeCache> weak_factory_{this}; - - DISALLOW_COPY_AND_ASSIGN(ShapeCache); }; inline bool operator==(const ShapeCache::SmallStringKey& a, |