Make Engine::GetFontCollection public (flutter/engine#5578)
Required by the Fuchsia embedder
This commit is contained in:
@@ -99,6 +99,9 @@ class Engine final : public blink::RuntimeDelegate {
|
||||
|
||||
void ScheduleFrame(bool regenerate_layer_tree = true) override;
|
||||
|
||||
// |blink::RuntimeDelegate|
|
||||
blink::FontCollection& GetFontCollection() override;
|
||||
|
||||
private:
|
||||
Engine::Delegate& delegate_;
|
||||
const blink::Settings settings_;
|
||||
@@ -126,9 +129,6 @@ class Engine final : public blink::RuntimeDelegate {
|
||||
void HandlePlatformMessage(
|
||||
fxl::RefPtr<blink::PlatformMessage> message) override;
|
||||
|
||||
// |blink::RuntimeDelegate|
|
||||
blink::FontCollection& GetFontCollection() override;
|
||||
|
||||
void StopAnimator();
|
||||
|
||||
void StartAnimatorIfPossible();
|
||||
|
||||
Reference in New Issue
Block a user