[core] Update MapObserver::onDidFinishRenderingFrame() API

This commit is contained in:
Mikhail Pozdnyakov
2019-09-11 19:01:37 +03:00
parent 03dadb1cea
commit 8af78ddbb9
12 changed files with 24 additions and 18 deletions

View File

@@ -762,7 +762,7 @@ TEST(Map, TEST_DISABLED_ON_CI(ContinuousRendering)) {
HeadlessFrontend frontend(1);
StubMapObserver observer;
observer.didFinishRenderingFrameCallback = [&] (MapObserver::RenderMode) {
observer.didFinishRenderingFrameCallback = [&] (MapObserver::RenderFrameStatus) {
// Start a timer that ends the test one second from now. If we are continuing to render
// indefinitely, the timer will be constantly restarted and never trigger. Instead, the
// emergency shutoff above will trigger, failing the test.