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

Unified Diff: ui/gl/gl_image.h

Issue 604833005: gpu: Remove release-after-use workaround. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-in-process-support-for-images
Patch Set: update bug list version Created 6 years, 3 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
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image.h
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h
index 45fac2abcdc37f4e5ec8822f7a457842d6febfd8..1dc99c3a064e67df1ad97f20e61e3f0211b31fa4 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -19,7 +19,7 @@ namespace gfx {
// specific management.
class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
public:
- GLImage();
+ GLImage() {}
// Destroys the image.
virtual void Destroy(bool have_context) = 0;
@@ -55,12 +55,8 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
const Rect& bounds_rect,
const RectF& crop_rect) = 0;
- // Indicate that image should be released after use.
- // (For an Android work-around only).
- virtual void SetReleaseAfterUse();
-
protected:
- virtual ~GLImage();
+ virtual ~GLImage() {}
private:
friend class base::RefCounted<GLImage>;
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698