diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp index 84ce910..a652d3e 100644 --- a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp @@ -211,9 +211,9 @@ LayerAndroid::~LayerAndroid() #endif } -bool LayerAndroid::hasText() +float LayerAndroid::maxZoomScale() const { - return m_content && m_content->hasText(); + return m_content ? m_content->maxZoomScale() : 1.0f; } static int gDebugNbAnims = 0; |