Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index ed67d3c13a51a80ff78c4f222a4cc9401e4a4ea7..0488c07cb1abfc843106e53f7110d3995f6ad1ed 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -109,6 +109,7 @@ |
#include "platform/exported/WebActiveGestureAnimation.h" |
#include "platform/fonts/FontCache.h" |
#include "platform/graphics/Color.h" |
+#include "platform/graphics/FirstPaintInvalidationTracking.h" |
#include "platform/graphics/Image.h" |
#include "platform/graphics/ImageBuffer.h" |
#include "platform/scheduler/Scheduler.h" |
@@ -861,6 +862,7 @@ void WebViewImpl::setShowPaintRects(bool show) |
m_layerTreeView->setShowPaintRects(show); |
} |
m_showPaintRects = show; |
+ setFirstPaintInvalidationTrackingEnabledForShowPaintRects(show); |
} |
void WebViewImpl::setShowDebugBorders(bool show) |