Index: Source/core/editing/InputMethodController.h |
diff --git a/Source/core/editing/InputMethodController.h b/Source/core/editing/InputMethodController.h |
index abdcf3d4958a12c1fc216dc9130d8724f60b78b2..69f36dab44a3b7826daee9decb5ef398dd1fa11e 100644 |
--- a/Source/core/editing/InputMethodController.h |
+++ b/Source/core/editing/InputMethodController.h |
@@ -107,7 +107,11 @@ private: |
explicit InputMethodController(LocalFrame&); |
Editor& editor() const; |
- LocalFrame& frame() const { return *m_frame; } |
+ LocalFrame& frame() const |
+ { |
+ ASSERT(m_frame); |
+ return *m_frame; |
+ } |
bool insertTextForConfirmedComposition(const String& text); |
void selectComposition() const; |