Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: gpu/command_buffer/service/texture_definition.cc

Issue 2449993005: Remove GLImage::Destroy(). (Closed)
Patch Set: Remove GLImage::Destroy(). Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index fcb2633c544f365b15c6533fb5e8709ae4fd82c5..e656b7e0fd8359da739068ac15c2566e6ca6ccad 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -35,7 +35,6 @@ class GLImageSync : public gl::GLImage {
const gfx::Size& size);
// Implement GLImage.
- void Destroy(bool have_context) override;
gfx::Size GetSize() override;
unsigned GetInternalFormat() override;
bool BindTexImage(unsigned target) override;
@@ -76,9 +75,6 @@ GLImageSync::~GLImageSync() {
buffer_->RemoveClient(this);
}
-void GLImageSync::Destroy(bool have_context) {
-}
-
gfx::Size GLImageSync::GetSize() {
return size_;
}

Powered by Google App Engine
This is Rietveld 408576698