summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-02-14 10:11:45 -0800
committerChris Loer <chris.loer@mapbox.com>2018-02-14 10:55:16 -0800
commita11b277bc19bdf142dcc85927f4e7d7acaeb3ff1 (patch)
tree5e925e08c516725fd630d4d548c37f863765364d /include
parentf7217799631dc3e49c59836540f7de5f951f605a (diff)
downloadqtlocation-mapboxgl-a11b277bc19bdf142dcc85927f4e7d7acaeb3ff1.tar.gz
[core] Rename "onLowMemory" to "reduceMemoryUse".
Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/renderer/renderer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/renderer/renderer.hpp b/include/mbgl/renderer/renderer.hpp
index db28ee92fc..798928087a 100644
--- a/include/mbgl/renderer/renderer.hpp
+++ b/include/mbgl/renderer/renderer.hpp
@@ -48,7 +48,7 @@ public:
void dumpDebugLogs();
// Memory
- void onLowMemory();
+ void reduceMemoryUse();
private:
class Impl;