Index: third_party/WebKit/Source/web/InspectorOverlay.cpp |
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp |
index 08ac0b79d51952b13c32ae68d922bd2cba3f2d63..5914390d4bf2d41418cefecdc1c1173e55d755d4 100644 |
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp |
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp |
@@ -50,6 +50,7 @@ |
#include "platform/JSONValues.h" |
#include "platform/ScriptForbiddenScope.h" |
#include "platform/graphics/GraphicsContext.h" |
+#include "platform/graphics/paint/CullRect.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebData.h" |
#include "web/PageOverlay.h" |
@@ -116,7 +117,7 @@ public: |
GraphicsContext& graphicsContext = toWebGraphicsContextImpl(context)->graphicsContext(); |
FrameView* view = m_overlay->overlayMainFrame()->view(); |
ASSERT(!view->needsLayout()); |
- view->paint(&graphicsContext, IntRect(0, 0, view->width(), view->height())); |
+ view->paint(&graphicsContext, CullRect(IntRect(0, 0, view->width(), view->height()))); |
} |
private: |