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

Unified Diff: Source/core/editing/ReplaceSelectionCommand.cpp

Issue 360733002: Remove callers of deprecatedShadowAncestorNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/ReplaceSelectionCommand.cpp
diff --git a/Source/core/editing/ReplaceSelectionCommand.cpp b/Source/core/editing/ReplaceSelectionCommand.cpp
index aea9badf720e3ab725b6b7018b5983ca5232101e..4809a280bfbe804e40a3663eb9b232a0bd37630a 100644
--- a/Source/core/editing/ReplaceSelectionCommand.cpp
+++ b/Source/core/editing/ReplaceSelectionCommand.cpp
@@ -157,7 +157,7 @@ ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* f
if (!editableRoot)
return;
- Node* shadowAncestorNode = editableRoot->deprecatedShadowAncestorNode();
+ Node* shadowAncestorNode = editableRoot->shadowHost();
tkent 2014/06/30 23:35:50 Is it ok to ignore a case where editableRoot->depr
deepak.sa 2014/07/01 05:45:25 While making the patch i thought it was safe, but
if (!editableRoot->getAttributeEventListener(EventTypeNames::webkitBeforeTextInserted) &&
// FIXME: Remove these checks once textareas and textfields actually register an event handler.
« no previous file with comments | « no previous file | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698