diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2011-03-16 11:31:36 -0700 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2011-03-16 13:56:05 -0700 |
commit | 6a3bd3f2b6b5a5c80e5fc1674550456b67e2cc7c (patch) | |
tree | 51ff3d56bd6cf8442ff1d1d02c3912837e60460e /WebCore/platform/graphics/android/GLWebViewState.h | |
parent | ab60a5124c80ef3bbbe80a8ad714f07457d29f98 (diff) | |
download | external_webkit-6a3bd3f2b6b5a5c80e5fc1674550456b67e2cc7c.zip external_webkit-6a3bd3f2b6b5a5c80e5fc1674550456b67e2cc7c.tar.gz external_webkit-6a3bd3f2b6b5a5c80e5fc1674550456b67e2cc7c.tar.bz2 |
For first layout, reset current textures and update base layer.
issue: 4094300
Change-Id: If8e58daa621e01ac372f2111ebde522a6f90b2e5
Diffstat (limited to 'WebCore/platform/graphics/android/GLWebViewState.h')
-rw-r--r-- | WebCore/platform/graphics/android/GLWebViewState.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.h b/WebCore/platform/graphics/android/GLWebViewState.h index 3f68757..e3b33f2 100644 --- a/WebCore/platform/graphics/android/GLWebViewState.h +++ b/WebCore/platform/graphics/android/GLWebViewState.h @@ -175,7 +175,8 @@ public: void resetTransitionTime() { m_transitionTime = -1; } unsigned int paintBaseLayerContent(SkCanvas* canvas); - void setBaseLayer(BaseLayerAndroid* layer, const SkRegion& inval, bool showVisualIndicator); + void setBaseLayer(BaseLayerAndroid* layer, const SkRegion& inval, bool showVisualIndicator, + bool isPictureAfterFirstLayout); void setExtra(BaseLayerAndroid*, SkPicture&, const IntRect&, bool allowSame); void scheduleUpdate(const double& currentTime, const SkIRect& viewport, float scale); |