Index: third_party/WebKit/Source/web/InspectorOverlayAgent.cpp |
diff --git a/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp b/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp |
index f42b7cc36edeb9525f0945e2a0d4c37871e99f99..6f067fc9ea3eb0f481b7d445358afd9bbeeeec89 100644 |
--- a/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp |
+++ b/third_party/WebKit/Source/web/InspectorOverlayAgent.cpp |
@@ -64,7 +64,6 @@ |
#include "public/platform/Platform.h" |
#include "public/platform/WebData.h" |
#include "v8/include/v8.h" |
-#include "web/ChromeClientImpl.h" |
#include "web/PageOverlay.h" |
#include "web/WebLocalFrameImpl.h" |
@@ -181,10 +180,9 @@ class InspectorOverlayAgent::InspectorOverlayChromeClient final |
} |
void SetCursor(const Cursor& cursor, LocalFrame* local_root) override { |
- ToChromeClientImpl(client_)->SetCursorOverridden(false); |
- ToChromeClientImpl(client_)->SetCursor(cursor, |
- overlay_->frame_impl_->GetFrame()); |
- ToChromeClientImpl(client_)->SetCursorOverridden(false); |
+ client_->SetCursorOverridden(false); |
+ client_->SetCursor(cursor, overlay_->frame_impl_->GetFrame()); |
+ client_->SetCursorOverridden(false); |
} |
void SetToolTip(LocalFrame& frame, |