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

Unified Diff: Source/WebCore/dom/EventDispatcher.cpp

Issue 6914018: Merge 84587 - 2011-04-21 Dimitri Glazkov <dglazkov@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 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
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/EventDispatcher.cpp
===================================================================
--- Source/WebCore/dom/EventDispatcher.cpp (revision 85612)
+++ Source/WebCore/dom/EventDispatcher.cpp (working copy)
@@ -163,8 +163,8 @@
}
if (!diverged) {
- // The relatedTarget is a parent or shadowHost of the target.
- if (isShadowRootOrSVGShadowRoot(m_node.get()))
+ // The relatedTarget is an ancestor or shadowHost of the target.
+ if (m_node->shadowHost() == relatedTarget.get())
lowestCommonBoundary = m_ancestors.begin();
} else if ((*firstDivergentBoundary) == m_node.get()) {
// Since ancestors does not contain target itself, we must account
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698