| Index: Source/WebCore/page/FrameView.cpp
|
| diff --git a/Source/WebCore/page/FrameView.cpp b/Source/WebCore/page/FrameView.cpp
|
| index aede9ee9dc3cc586aa2f10bd034ad7f970e784c5..5e4bfc5eb4c5378400db7cf8f1fc5e5a4fd95c51 100644
|
| --- a/Source/WebCore/page/FrameView.cpp
|
| +++ b/Source/WebCore/page/FrameView.cpp
|
| @@ -1355,7 +1355,7 @@ void FrameView::layout(bool allowSubtree)
|
| if (AXObjectCache* cache = root->document()->existingAXObjectCache())
|
| cache->postNotification(root, AXObjectCache::AXLayoutComplete, true);
|
| #endif
|
| -#if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION)
|
| +#if ENABLE(DRAGGABLE_REGION)
|
| updateAnnotatedRegions();
|
| #endif
|
|
|
| @@ -3146,7 +3146,7 @@ bool FrameView::scrollAnimatorEnabled() const
|
| return false;
|
| }
|
|
|
| -#if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION)
|
| +#if ENABLE(DRAGGABLE_REGION)
|
| void FrameView::updateAnnotatedRegions()
|
| {
|
| Document* document = m_frame->document();
|
| @@ -3491,7 +3491,7 @@ void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
|
| m_lastPaintTime = currentTime();
|
|
|
| // Regions may have changed as a result of the visibility/z-index of element changing.
|
| -#if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION)
|
| +#if ENABLE(DRAGGABLE_REGION)
|
| if (document->annotatedRegionsDirty())
|
| updateAnnotatedRegions();
|
| #endif
|
|
|