Remove the unused method on iOS surface to make the resource context current. (flutter/engine#17084)
This commit is contained in:
@@ -36,8 +36,6 @@ class IOSSurface : public ExternalViewEmbedder {
|
||||
|
||||
ExternalViewEmbedder* GetExternalViewEmbedderIfEnabled();
|
||||
|
||||
bool ResourceContextMakeCurrent();
|
||||
|
||||
virtual bool IsValid() const = 0;
|
||||
|
||||
virtual void UpdateStorageSizeIfNecessary() = 0;
|
||||
|
||||
@@ -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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user