Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1452)

Unified Diff: third_party/WebKit/Source/web/InspectorOverlayAgent.cpp

Issue 2883143004: Removed dependency of InspectorOverlayAgent on ChromeClientImpl (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698