Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@szakarias
Copy link
Contributor

This is a temporary fix until Fuchsia doesn't use flx anymore.


void AssetFontSelector::parseFontManifest() {
std::vector<uint8_t> font_manifest_data;
if (!directory_asset_bundle_->GetAsBuffer(kFontManifestAssetPath,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the AssetFontSelector is now initialized with either a DirectoryAssetBundle or a ZipAssetStore, don't we need null checks on directory_asset_bundle_ and asset_store_?

Copy link
Contributor

@jakobr-google jakobr-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@szakarias szakarias merged commit 0890783 into flutter:master Dec 19, 2017
@szakarias
Copy link
Contributor Author

cc @chinmaygarde

@chinmaygarde
Copy link
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants