summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/LayerDim.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/LayerDim.h')
-rw-r--r--services/surfaceflinger/LayerDim.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/surfaceflinger/LayerDim.h b/services/surfaceflinger/LayerDim.h
index 8770e6d..06f312d 100644
--- a/services/surfaceflinger/LayerDim.h
+++ b/services/surfaceflinger/LayerDim.h
@@ -32,11 +32,10 @@ namespace android {
class LayerDim : public LayerBaseClient
{
public:
- LayerDim(SurfaceFlinger* flinger, DisplayID display,
- const sp<Client>& client);
+ LayerDim(SurfaceFlinger* flinger, const sp<Client>& client);
virtual ~LayerDim();
- virtual void onDraw(const Region& clip) const;
+ virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const;
virtual bool isOpaque() const { return false; }
virtual bool isSecure() const { return false; }
virtual bool isProtectedByApp() const { return false; }