Index: Source/core/platform/ScrollView.cpp |
diff --git a/Source/core/platform/ScrollView.cpp b/Source/core/platform/ScrollView.cpp |
index bbb2b2db74266366525bae36e5e55a76fe51a6b5..616dee26b7c0114a70c59b352c7e7243e20d6697 100644 |
--- a/Source/core/platform/ScrollView.cpp |
+++ b/Source/core/platform/ScrollView.cpp |
@@ -934,7 +934,7 @@ void ScrollView::paint(GraphicsContext* context, const IntRect& rect) |
paintContents(context, documentDirtyRect); |
} |
-#if ENABLE(RUBBER_BANDING) |
+#if USE(RUBBER_BANDING) |
if (!layerForOverhangAreas()) |
calculateAndPaintOverhangAreas(context, rect); |
#else |
@@ -1008,7 +1008,7 @@ void ScrollView::updateOverhangAreas() |
IntRect horizontalOverhangRect; |
IntRect verticalOverhangRect; |
calculateOverhangAreasForPainting(horizontalOverhangRect, verticalOverhangRect); |
-#if ENABLE(RUBBER_BANDING) |
+#if USE(RUBBER_BANDING) |
if (GraphicsLayer* overhangLayer = layerForOverhangAreas()) { |
bool hasOverhangArea = !horizontalOverhangRect.isEmpty() || !verticalOverhangRect.isEmpty(); |
overhangLayer->setDrawsContent(hasOverhangArea); |