diff --git a/src/ol/source/vectorsource.js b/src/ol/source/vectorsource.js
index e1f5ab294e..f3bc0850dc 100644
--- a/src/ol/source/vectorsource.js
+++ b/src/ol/source/vectorsource.js
@@ -116,7 +116,7 @@ ol.source.Vector.prototype.forEachFeatureInExtent =
* @return {Array.
} Features.
*/
ol.source.Vector.prototype.getAllFeatures = function() {
- return this.rBush_.all();
+ return this.rBush_.getAll();
};
@@ -138,7 +138,7 @@ ol.source.Vector.prototype.getAllFeaturesAtCoordinate = function(coordinate) {
* @return {Array.} Features.
*/
ol.source.Vector.prototype.getAllFeaturesInExtent = function(extent) {
- return this.rBush_.allInExtent(extent);
+ return this.rBush_.getAllInExtent(extent);
};