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

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

Issue 2043903002: Move didChangeCursor calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 5 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
Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index 5b8f7664fb1613474bf0adcb9300691060be835d..94757f03c0fe13d1b72c36630e6fc51e47b1327c 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -160,10 +160,9 @@ private:
return IntSize(0, 0);
}
- void setCursor(const Cursor& cursor, LocalFrame* localRoot) override
+ void setCursor(const Cursor& cursor, LocalFrame* localFrame) override
{
- if (m_popup->m_webView->client())
- m_popup->m_webView->client()->didChangeCursor(WebCursorInfo(cursor));
+ m_popup->m_widgetClient->didChangeCursor(WebCursorInfo(cursor));
}
void setEventListenerProperties(WebEventListenerClass eventClass, WebEventListenerProperties properties) override

Powered by Google App Engine
This is Rietveld 408576698