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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 183763027: Have ElementRareData::ensure*() methods return references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 | « Source/core/dom/ElementRareData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/dom/ElementRareData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698