summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/BitmapAllocatorAndroid.h2
-rw-r--r--WebCore/platform/graphics/android/ImageSourceAndroid.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/BitmapAllocatorAndroid.h b/WebCore/platform/graphics/android/BitmapAllocatorAndroid.h
index 7b401d0..11716e3 100644
--- a/WebCore/platform/graphics/android/BitmapAllocatorAndroid.h
+++ b/WebCore/platform/graphics/android/BitmapAllocatorAndroid.h
@@ -53,4 +53,6 @@ namespace WebCore {
}
+size_t computeMaxBitmapSizeForCache();
+
#endif
diff --git a/WebCore/platform/graphics/android/ImageSourceAndroid.cpp b/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
index 200f52d..1212ff9 100644
--- a/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
+++ b/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
@@ -95,7 +95,7 @@ SkPixelRef* SkCreateRLEPixelRef(const SkBitmap& src);
Perhaps this value should be some fraction of the available RAM...
*/
-static size_t computeMaxBitmapSizeForCache() {
+size_t computeMaxBitmapSizeForCache() {
return MAX_SIZE_BEFORE_SUBSAMPLE;
}