summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h b/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h
index 80c6545..ff866bf 100644
--- a/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h
+++ b/Source/WebCore/platform/graphics/android/rendering/SurfaceBacking.h
@@ -40,7 +40,7 @@ class SurfaceBacking : public SkRefCnt {
public:
SurfaceBacking(bool isBaseSurface);
~SurfaceBacking();
- void prepareGL(GLWebViewState* state, bool allowZoom,
+ void prepareGL(GLWebViewState* state, float maxZoomScale,
const IntRect& prepareArea, const IntRect& fullContentArea,
TilePainter* painter, bool aggressiveRendering,
bool updateWithBlit);
@@ -95,7 +95,7 @@ private:
float m_futureScale;
double m_zoomUpdateTime;
bool m_zooming;
- bool m_hasAllowedZoom;
+ float m_maxZoomScale;
};
} // namespace WebCore