mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user