Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 43a3881d550f0b55e351a28ab66983d08d206369..bfa58740ba092e1c5f066fa3e5c83eb3814519c0 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -2155,7 +2155,7 @@ InputMethodContext* WebViewImpl::inputMethodContext() |
Element* target = focusedFrame->document()->focusedElement(); |
if (target && target->hasInputMethodContext()) |
- return target->inputMethodContext(); |
+ return &target->inputMethodContext(); |
return 0; |
} |