diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-27 16:54:31 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-06-10 12:42:14 +0200 |
commit | 8a8f828e41c24afe4dc8df701f149c3d238c054a (patch) | |
tree | 21a668edeb7d24af8c8493ea899d07da6ef3a487 /test | |
parent | 2c7f7fb5669088cbd6d6a7471a377f28195adaf6 (diff) | |
download | qtlocation-mapboxgl-8a8f828e41c24afe4dc8df701f149c3d238c054a.tar.gz |
[core] rename onPlacementRedone -> onNeedsRepaint
Diffstat (limited to 'test')
-rw-r--r-- | test/src/mbgl/test/stub_style_observer.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/mbgl/test/stub_style_observer.hpp b/test/src/mbgl/test/stub_style_observer.hpp index d70fc5e44c..ae0a23f0aa 100644 --- a/test/src/mbgl/test/stub_style_observer.hpp +++ b/test/src/mbgl/test/stub_style_observer.hpp @@ -43,8 +43,8 @@ public: if (tileError) tileError(source, tileID, error); } - void onResourceLoaded() override { - if (resourceLoaded) resourceLoaded(); + void onNeedsRepaint() override { + if (needsRepaint) needsRepaint(); }; void onResourceError(std::exception_ptr error) override { @@ -59,6 +59,6 @@ public: std::function<void (Source&, std::exception_ptr)> sourceError; std::function<void (Source&, const OverscaledTileID&, bool isNewTile)> tileLoaded; std::function<void (Source&, const OverscaledTileID&, std::exception_ptr)> tileError; - std::function<void ()> resourceLoaded; + std::function<void ()> needsRepaint; std::function<void (std::exception_ptr)> resourceError; }; |