Remove the unused method on iOS surface to make the resource context current. (flutter/engine#17084)

This commit is contained in:
Chinmay Garde
2020-03-11 00:46:02 -07:00
committed by GitHub
parent ba0c0a0796
commit a483f24165
2 changed files with 0 additions and 6 deletions

View File

@@ -36,8 +36,6 @@ class IOSSurface : public ExternalViewEmbedder {
ExternalViewEmbedder* GetExternalViewEmbedderIfEnabled();
bool ResourceContextMakeCurrent();
virtual bool IsValid() const = 0;
virtual void UpdateStorageSizeIfNecessary() = 0;

View File

@@ -64,10 +64,6 @@ IOSSurface::IOSSurface(std::shared_ptr<IOSContext> ios_context,
IOSSurface::~IOSSurface() = default;
bool IOSSurface::ResourceContextMakeCurrent() {
return GetContext()->ResourceMakeCurrent();
}
std::shared_ptr<IOSContext> IOSSurface::GetContext() const {
return ios_context_;
}