Update tile partially
[framework/web/webkit-efl.git] / Source / WebKit2 / WebProcess / WebPage / efl / tizen / PlatformSurfacePoolTizen.cpp
index 7051b51..c6ce2a4 100644 (file)
@@ -132,6 +132,14 @@ SharedPlatformSurfaceTizen* PlatformSurfacePoolTizen::acquirePlatformSurface(con
     return 0;
 }
 
+SharedPlatformSurfaceTizen* PlatformSurfacePoolTizen::acquirePlatformSurfaceByID(int platformSurfaceId)
+{
+    PlatformSurfaceMap::iterator foundSurface = m_platformSurfaces.find(platformSurfaceId);
+    if (foundSurface == m_platformSurfaces.end())
+        return 0;
+    return foundSurface->second->m_SharedPlatformSurfaceTizen.get();
+}
+
 void PlatformSurfacePoolTizen::freePlatformSurfaceByTileID(int tileID)
 {
     int platformSurfaceId = 0;