diff options
author | Nicolas Roard <nicolas@android.com> | 2010-10-14 16:18:12 -0700 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-10-14 16:18:12 -0700 |
commit | 09fce604f7e67802272bf991cb667509521c36b3 (patch) | |
tree | e9658c1cf520d462bea44cc1b0e2560699424f68 /WebCore/platform/graphics/android/GLWebViewState.h | |
parent | 19058237c678a394169062fa2f572634fd406018 (diff) | |
download | external_webkit-09fce604f7e67802272bf991cb667509521c36b3.zip external_webkit-09fce604f7e67802272bf991cb667509521c36b3.tar.gz external_webkit-09fce604f7e67802272bf991cb667509521c36b3.tar.bz2 |
Fix PictureSet update crash
Change-Id: I5fec3f1ce421831b3fecae4030d63a29fe75fa1c
Diffstat (limited to 'WebCore/platform/graphics/android/GLWebViewState.h')
-rw-r--r-- | WebCore/platform/graphics/android/GLWebViewState.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.h b/WebCore/platform/graphics/android/GLWebViewState.h index ac3943e..4cbbdc0 100644 --- a/WebCore/platform/graphics/android/GLWebViewState.h +++ b/WebCore/platform/graphics/android/GLWebViewState.h @@ -175,6 +175,9 @@ public: unsigned int currentPictureCounter() const { return m_currentPictureCounter; } SkRect& invalidatedRect() { return m_invalidatedRect; } + void baseLayerLock() { m_baseLayerLock.lock(); } + void baseLayerUnlock() { m_baseLayerLock.unlock(); } + private: // Delay between scheduling a new page when the scale |