From 8fcc74e2531f53b6e09584fb58022f852a32b26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Tue, 30 Sep 2014 17:28:42 +0200 Subject: fix headless tests --- common/headless_view.cpp | 4 ++++ common/headless_view.hpp | 1 + 2 files changed, 5 insertions(+) (limited to 'common') diff --git a/common/headless_view.cpp b/common/headless_view.cpp index ed00f48e82..ace41d38c0 100644 --- a/common/headless_view.cpp +++ b/common/headless_view.cpp @@ -163,6 +163,10 @@ HeadlessView::~HeadlessView() { #endif } +void HeadlessView::notify() { + // no-op +} + void HeadlessView::notify_map_change(mbgl::MapChange /*change*/, mbgl::timestamp /*delay*/) { // no-op } diff --git a/common/headless_view.hpp b/common/headless_view.hpp index a8ce4aa325..42f9c46da2 100644 --- a/common/headless_view.hpp +++ b/common/headless_view.hpp @@ -21,6 +21,7 @@ public: void resize(uint16_t width, uint16_t height, float pixelRatio); + void notify(); void notify_map_change(MapChange change, timestamp delay = 0); void make_active(); void swap(); -- cgit v1.2.1