blob: 715157165745f5db9d287f741db76c79edc50ec9 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/css/FontFaceSource.h"
#include "core/css/FontFaceSetDocument.h"
#include "core/css/FontFaceSetWorker.h"
namespace blink {
FontFaceSet* FontFaceSource::fonts(Document& document) {
return FontFaceSetDocument::From(document);
}
FontFaceSet* FontFaceSource::fonts(WorkerGlobalScope& worker) {
return FontFaceSetWorker::From(worker);
}
} // namespace blink