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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatcher.cpp

Issue 2375583003: Remove untrusted event deprecation warning. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/EventDispatcher.cpp
diff --git a/third_party/WebKit/Source/core/events/EventDispatcher.cpp b/third_party/WebKit/Source/core/events/EventDispatcher.cpp
index 35b1567ec382c4b9db2fff14e0d916a34252dc0a..32d7df0d9b4b96999d486047c0ae726e1cb7b0cf 100644
--- a/third_party/WebKit/Source/core/events/EventDispatcher.cpp
+++ b/third_party/WebKit/Source/core/events/EventDispatcher.cpp
@@ -253,8 +253,6 @@ inline void EventDispatcher::dispatchEventPostProcess(EventDispatchHandlingState
break;
}
}
- if (m_event->defaultHandled() && !m_event->isTrusted() && !isClick)
- Deprecation::countDeprecation(m_node->document(), UseCounter::UntrustedEventDefaultHandled);
}
// Track the usage of sending a mousedown event to a select element to force
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698