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

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

Issue 2766053002: [refactor] Fix autofill features for payments when the form is inside an OOPIF (Closed)
Patch Set: Using Node& instead of Node* Created 3 years, 8 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/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index cf15d6dd1d0e6dbf307d6ffaf2fd2589d005ffde..e450022239c29858e7b5418dfd1242756e5bab86 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1085,9 +1085,10 @@ void ChromeClientImpl::showUnhandledTapUIIfNeeded(
WebPoint(tappedPositionInViewport), WebNode(tappedNode), pageChanged);
}
-void ChromeClientImpl::onMouseDown(Node* mouseDownNode) {
- if (m_webView->client())
- m_webView->client()->onMouseDown(WebNode(mouseDownNode));
+void ChromeClientImpl::onMouseDown(Node& mouseDownNode) {
+ WebLocalFrameImpl::fromFrame(mouseDownNode.document().frame())
+ ->client()
+ ->didCompleteLeftMouseDownOrGestureTapInNode(WebNode(&mouseDownNode));
}
void ChromeClientImpl::handleKeyboardEventOnTextField(

Powered by Google App Engine
This is Rietveld 408576698