introduce removePrerenderedSurfaceWithRootTag:

Summary:
similar to android, we want to handle removing dropped surfaces. in this diff, we add the API to do so.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D32557069

fbshipit-source-id: 2487c459df3f1f412ad0da77568d6c0ab0a1298c
This commit is contained in:
Phillip Pan
2021-11-23 02:01:25 -08:00
committed by Facebook GitHub Bot
parent cb610ddca7
commit 6a344fe900
@@ -19,6 +19,7 @@ class MockSurfaceHandler : public SurfaceHandler {
MockSurfaceHandler() : SurfaceHandler("moduleName", 0){};
MOCK_QUALIFIED_METHOD1(setDisplayMode, const noexcept, void(DisplayMode));
MOCK_QUALIFIED_METHOD0(getSurfaceId, const noexcept, SurfaceId());
};
} // namespace react