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

Unified Diff: sky/engine/core/events/EventPath.cpp

Issue 704413007: Remove HTMLShadowElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/dom/shadow/ShadowRootRareData.h ('k') | sky/engine/core/html/HTMLShadowElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventPath.cpp
diff --git a/sky/engine/core/events/EventPath.cpp b/sky/engine/core/events/EventPath.cpp
index 57487044894d57edf31670340463c9df2dc9997a..9031715179e38318fb333f59e839dc0dd01afd58 100644
--- a/sky/engine/core/events/EventPath.cpp
+++ b/sky/engine/core/events/EventPath.cpp
@@ -109,12 +109,6 @@ void EventPath::calculatePath()
if (!insertionPoints.isEmpty()) {
for (size_t i = 0; i < insertionPoints.size(); ++i) {
InsertionPoint* insertionPoint = insertionPoints[i];
- if (insertionPoint->isShadowInsertionPoint()) {
- ShadowRoot* containingShadowRoot = insertionPoint->containingShadowRoot();
- ASSERT(containingShadowRoot);
- if (!containingShadowRoot->isOldest())
- addNodeEventContext(containingShadowRoot->olderShadowRoot());
- }
addNodeEventContext(insertionPoint);
}
current = insertionPoints.last();
« no previous file with comments | « sky/engine/core/dom/shadow/ShadowRootRareData.h ('k') | sky/engine/core/html/HTMLShadowElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698