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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodController.cpp

Issue 1611953002: Rename editableRootElementForPosition() to rootEditableElementOf() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-01-21T18:23:57 Created 4 years, 11 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/InputMethodController.cpp
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
index 93ce9ed40f1f1acb62bc57e44b5e46a0b46259b0..efcf4a2aad2bb9f5fbdd846d165b693f62ed5123 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
@@ -349,11 +349,11 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit
return;
const Position start = range.startPosition();
- if (editableRootElementForPosition(start) != editable)
+ if (rootEditableElementOf(start) != editable)
return;
const Position end = range.endPosition();
- if (editableRootElementForPosition(end) != editable)
+ if (rootEditableElementOf(end) != editable)
return;
clear();

Powered by Google App Engine
This is Rietveld 408576698