Skip to content

Commit

Permalink
Merge pull request flutter#2410 from eseidelGoogle/clang_warning
Browse files Browse the repository at this point in the history
Add explicit destructor to appease clang plugin
  • Loading branch information
eseidelGoogle committed Feb 19, 2016
2 parents 20d6b86 + f94ca77 commit 60d07a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sky/shell/ui/flutter_font_selector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ FlutterFontSelector::~FlutterFontSelector() {
FlutterFontSelector::TypefaceAsset::TypefaceAsset() {
}

FlutterFontSelector::TypefaceAsset::~TypefaceAsset() {
}

void FlutterFontSelector::parseFontManifest() {
std::vector<uint8_t> font_manifest_data;
if (!zip_asset_bundle_->GetAsBuffer(kFontManifestAssetPath,
Expand Down
1 change: 1 addition & 0 deletions sky/shell/ui/flutter_font_selector.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class FlutterFontSelector : public blink::FontSelector {
// A Skia typeface along with a buffer holding the raw typeface asset data.
struct TypefaceAsset {
TypefaceAsset();
~TypefaceAsset();
RefPtr<SkTypeface> typeface;
std::vector<uint8_t> data;
};
Expand Down

0 comments on commit 60d07a7

Please sign in to comment.