const native_handle_t* -> buffer_handle_t

Change-Id: If4ac1bcfba7192ac1339039cac75f76a5c09f4c6
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h
index 1e5779c..fdf2f59 100644
--- a/include/hardware/hwcomposer.h
+++ b/include/hardware/hwcomposer.h
@@ -20,6 +20,7 @@
 #include <stdint.h>
 #include <sys/cdefs.h>
 
+#include <hardware/gralloc.h>
 #include <hardware/hardware.h>
 #include <cutils/native_handle.h>
 
@@ -148,7 +149,7 @@
 
     /* handle of buffer to compose. this handle is guaranteed to have been
      * allocated with gralloc */
-    const native_handle_t* handle;
+    buffer_handle_t handle;
 
     /* transformation to apply to the buffer during composition */
     uint32_t transform;