diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-11 13:45:27 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-05-18 12:07:21 +0200 |
commit | 002393bdead2f036982ea3adb8a13a3d58f3428a (patch) | |
tree | 73da2311cb98ec7f0acf6f6bf2b1f9858846000c /test/style | |
parent | 1d84a8964e39bd6a35de1dc64c03496bcdcf2c4f (diff) | |
download | qtlocation-mapboxgl-002393bdead2f036982ea3adb8a13a3d58f3428a.tar.gz |
[core] remove MockView and View dependency in Transform
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/source.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/style/source.cpp b/test/style/source.cpp index 156aff71ad..622ec7ae7e 100644 --- a/test/style/source.cpp +++ b/test/style/source.cpp @@ -1,6 +1,5 @@ #include <mbgl/test/util.hpp> #include <mbgl/test/stub_file_source.hpp> -#include <mbgl/test/mock_view.hpp> #include <mbgl/test/stub_style_observer.hpp> #include <mbgl/source/source.hpp> @@ -24,8 +23,7 @@ public: util::RunLoop loop; StubFileSource fileSource; StubStyleObserver observer; - MockView view; - Transform transform { view, ConstrainMode::HeightOnly, ViewportMode::Default }; + Transform transform; TransformState transformState; Worker worker { 1 }; gl::TexturePool texturePool; |