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 94e8b70866594215bad206d3e4bb74bd04563ebe..cb9ac4ba052bccbb65cbe670ba198d32ce369d10 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
@@ -302,7 +302,7 @@ void InputMethodController::Clear() { |
composition_range_->setStart(&GetDocument(), 0); |
composition_range_->collapse(true); |
} |
- GetDocument().Markers().RemoveMarkers(DocumentMarker::kComposition); |
+ GetDocument().Markers().RemoveMarkersOfTypes(DocumentMarker::kComposition); |
} |
void InputMethodController::ContextDestroyed(Document*) { |