summaryrefslogtreecommitdiff
path: root/Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp')
-rw-r--r--Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp b/Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp
index 18a750a89..44e7b49a9 100644
--- a/Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp
+++ b/Source/WebKit/blackberry/WebKitSupport/InRegionScrollableArea.cpp
@@ -42,6 +42,8 @@ InRegionScrollableArea::InRegionScrollableArea()
InRegionScrollableArea::~InRegionScrollableArea()
{
+ if (m_cachedCompositedScrollableLayer)
+ m_cachedCompositedScrollableLayer->clearOverride();
}
InRegionScrollableArea::InRegionScrollableArea(WebPagePrivate* webPage, RenderLayer* layer)