Coverage Report

Created: 2024-05-20 07:14

/src/skia/tools/text/gpu/TextBlobTools.cpp
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright 2024 Google LLC
3
 *
4
 * Use of this source code is governed by a BSD-style license that can be
5
 * found in the LICENSE file.
6
 */
7
8
#include "tools/text/gpu/TextBlobTools.h"
9
10
#include "src/text/gpu/SubRunContainer.h"
11
#include "src/text/gpu/TextBlob.h"
12
13
namespace sktext::gpu {
14
15
0
const AtlasSubRun* TextBlobTools::FirstSubRun(const TextBlob* blob) {
16
0
    SkASSERT(blob);
17
0
    if (blob->fSubRuns->fSubRuns.isEmpty()) {
18
0
        return nullptr;
19
0
    }
20
0
    return blob->fSubRuns->fSubRuns.front().testingOnly_atlasSubRun();
21
0
}
Unexecuted instantiation: sktext::gpu::TextBlobTools::FirstSubRun(sktext::gpu::TextBlob const*)
Unexecuted instantiation: sktext::gpu::TextBlobTools::FirstSubRun(sktext::gpu::TextBlob const*)
22
23
}  // namespace sktext::gpu