| Index: sky/engine/core/dom/Element.cpp
|
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
|
| index 2461e5d58b85dd1104ec9f1e88edb42ff5917779..cf55f981df2707e9c09118586ef74a15563e751a 100644
|
| --- a/sky/engine/core/dom/Element.cpp
|
| +++ b/sky/engine/core/dom/Element.cpp
|
| @@ -1290,13 +1290,12 @@ bool Element::isMouseFocusable() const
|
|
|
| void Element::willCallDefaultEventHandler(const Event& event)
|
| {
|
| + // FIXME(sky): wasFocusedByMouse always returns false. Remove this function.
|
| if (!wasFocusedByMouse())
|
| return;
|
| if (!event.isKeyboardEvent() || event.type() != EventTypeNames::keydown)
|
| return;
|
| setWasFocusedByMouse(false);
|
| - if (renderer())
|
| - renderer()->setShouldDoFullPaintInvalidation(true);
|
| }
|
|
|
| void Element::dispatchFocusEvent(Element* oldFocusedElement, FocusType type)
|
|
|