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

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

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 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 9c67a43b18fdd9d7f1259cacb9d0d79d93abf430..3a1071d6f74f8c9ef1ef0225667f26604de33f75 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
@@ -222,7 +222,7 @@ void InputMethodController::clear() {
document().markers().removeMarkers(DocumentMarker::Composition);
}
-void InputMethodController::contextDestroyed() {
+void InputMethodController::contextDestroyed(Document*) {
clear();
m_compositionRange = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698