Skip to content

Commit

Permalink
[ios] Remove unused is_valid_ from IOS Metal Context (flutter#21432)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Sep 28, 2020
1 parent f72613d commit 2917a65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion shell/platform/darwin/ios/ios_context_metal.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class IOSContextMetal final : public IOSContext {
sk_sp<GrDirectContext> main_context_;
sk_sp<GrDirectContext> resource_context_;
fml::CFRef<CVMetalTextureCacheRef> texture_cache_;
bool is_valid_ = false;

// |IOSContext|
sk_sp<GrDirectContext> CreateResourceContext() override;
Expand Down
2 changes: 0 additions & 2 deletions shell/platform/darwin/ios/ios_context_metal.mm
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ static GrContextOptions CreateMetalGrContextOptions() {
return;
}
texture_cache_.Reset(texture_cache_raw);

is_valid_ = false;
}

IOSContextMetal::~IOSContextMetal() = default;
Expand Down

0 comments on commit 2917a65

Please sign in to comment.