chromium/third_party/blink/renderer/platform/fonts/font_global_context.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/fonts/font_global_context.h"

#include "base/memory/ptr_util.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_unique_name_lookup.h"
#include "third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h"
#include "third_party/blink/renderer/platform/privacy_budget/identifiability_digest_helpers.h"
#include "third_party/blink/renderer/platform/wtf/thread_specific.h"

// While the size of these caches should usually be small (up to tens), we
// protect against the possibility of it growing quickly to thousands when
// animating variable font parameters.
static constexpr size_t kCachesMaxSize =;

namespace blink {

ThreadSpecific<Persistent<FontGlobalContext>>&
GetThreadSpecificFontGlobalContextPool() {}

FontGlobalContext& FontGlobalContext::Get() {}

FontGlobalContext* FontGlobalContext::TryGet() {}

FontGlobalContext::FontGlobalContext(PassKey)
    :{}

FontGlobalContext::~FontGlobalContext() = default;

FontUniqueNameLookup* FontGlobalContext::GetFontUniqueNameLookup() {}

IdentifiableToken FontGlobalContext::GetOrComputeTypefaceDigest(
    const FontPlatformData& source) {}

IdentifiableToken FontGlobalContext::GetOrComputePostScriptNameDigest(
    const FontPlatformData& source) {}

void FontGlobalContext::ClearMemory() {}

void FontGlobalContext::Init() {}

}  // namespace blink