| 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();
|
| + info.placeholder = element->fastGetAttribute(HTMLNames::placeholderAttr);
|
| +
|
| if (info.value.isEmpty())
|
| return info;
|
|
|
|
|