summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLReadback.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/OpenGLReadback.h')
-rw-r--r--libs/hwui/OpenGLReadback.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLReadback.h b/libs/hwui/OpenGLReadback.h
index f4ebabcdebe5..c9222cff51da 100644
--- a/libs/hwui/OpenGLReadback.h
+++ b/libs/hwui/OpenGLReadback.h
@@ -22,7 +22,7 @@ namespace android {
namespace uirenderer {
class Matrix4;
-class Layer;
+class GlLayer;
class OpenGLReadback : public Readback {
public:
@@ -49,7 +49,7 @@ public:
/**
* Copies the layer's contents into the provided bitmap.
*/
- static bool copyLayerInto(renderthread::RenderThread& renderThread, Layer& layer,
+ static bool copyLayerInto(renderthread::RenderThread& renderThread, GlLayer& layer,
SkBitmap* bitmap);
protected: