summaryrefslogtreecommitdiff
path: root/screen_connector_remote_surface_evas/remote_surface_mixed.cc
diff options
context:
space:
mode:
Diffstat (limited to 'screen_connector_remote_surface_evas/remote_surface_mixed.cc')
-rw-r--r--screen_connector_remote_surface_evas/remote_surface_mixed.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/screen_connector_remote_surface_evas/remote_surface_mixed.cc b/screen_connector_remote_surface_evas/remote_surface_mixed.cc
index 515ffaa..dba33ad 100644
--- a/screen_connector_remote_surface_evas/remote_surface_mixed.cc
+++ b/screen_connector_remote_surface_evas/remote_surface_mixed.cc
@@ -55,8 +55,9 @@ void RemoteSurfaceMixed::OnBufferRemoved(const std::string& appId,
img_tbm_.reset();
}
-void RemoteSurfaceMixed::OnBufferChanged(int type, const WlBuffer& tbm, int fd,
- uint32_t size, uint32_t time) {
+void RemoteSurfaceMixed::OnBufferChanged(int type,
+ std::shared_ptr<WlBuffer> tbm,
+ int fd, uint32_t size, uint32_t time) {
if (type == TIZEN_REMOTE_SURFACE_BUFFER_TYPE_TBM) {
if (img_tbm_.get() == nullptr) {
LOGD("first added !!!! %d %s", type, GetAppId().c_str());