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

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

Issue 1327193002: Oilpan: fix build after r201994. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InputMethodController.cpp
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp
index f1d4018dbf735e082b90f8c3fc7339dfd64f377c..678921331b7dd980149534fb57867cda7a32fb6d 100644
--- a/Source/core/editing/InputMethodController.cpp
+++ b/Source/core/editing/InputMethodController.cpp
@@ -160,8 +160,8 @@ void InputMethodController::cancelCompositionIfSelectionIsInvalid()
if (!selection.isNone() && !m_compositionRange->collapsed()) {
Position start = selection.start();
Position end = selection.end();
- if (selection.start().compareTo(m_compositionRange->startPosition()) >= 0
- && selection.end().compareTo(m_compositionRange->endPosition()) <= 0)
+ if (start.compareTo(m_compositionRange->startPosition()) >= 0
+ && end.compareTo(m_compositionRange->endPosition()) <= 0)
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698