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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp

Issue 2327743002: Rename Node::shadowHost() to Node::ownerShadowHost() (Closed)
Patch Set: fix 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
Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
index 0003284950c9157f204502f4c97f3429eca29054..f9653a7845a1299a0d7a13cd90d446a0c7df769c 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
@@ -165,7 +165,7 @@ ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* f
Element* shadowAncestorElement;
if (editableRoot->isInShadowTree())
- shadowAncestorElement = editableRoot->shadowHost();
+ shadowAncestorElement = editableRoot->ownerShadowHost();
else
shadowAncestorElement = editableRoot;

Powered by Google App Engine
This is Rietveld 408576698