Chromium Code Reviews| 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 3681b8a9ffae6dd4813029d118f21824d72bd981..b3a7a3b177aac1a6203fad34b59a295962ac0e6c 100644 |
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
| @@ -967,6 +967,9 @@ WebTextInputInfo InputMethodController::textInputInfo() const { |
| info.value = plainText(EphemeralRange::rangeOfContents(*element), |
| TextIteratorEmitsObjectReplacementCharacter); |
| + element = frame().document()->focusedElement(); |
|
David Trainor- moved to gerrit
2016/10/26 01:36:42
This still has the problem of being in the common
|
| + info.placeholder = element->fastGetAttribute(HTMLNames::placeholderAttr); |
| + |
| if (info.value.isEmpty()) |
| return info; |