[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.
This commit is contained in:
Chris Loer
2018-02-14 10:11:45 -08:00
committed by Chris Loer
parent f721779963
commit a11b277bc1
25 changed files with 36 additions and 36 deletions

View File

@@ -88,8 +88,8 @@ std::vector<Feature> RenderVectorSource::querySourceFeatures(const SourceQueryOp
return tilePyramid.querySourceFeatures(options);
}
void RenderVectorSource::onLowMemory() {
tilePyramid.onLowMemory();
void RenderVectorSource::reduceMemoryUse() {
tilePyramid.reduceMemoryUse();
}
void RenderVectorSource::dumpDebugLogs() const {