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

Unified Diff: sky/engine/core/dom/Element.cpp

Issue 791023006: Delete invalidateTreeIfNeeded. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
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..fd1f313c883f8d2c9cad48a6c9c956f76849e057 100644
--- a/sky/engine/core/dom/Element.cpp
+++ b/sky/engine/core/dom/Element.cpp
@@ -1295,8 +1295,6 @@ void Element::willCallDefaultEventHandler(const Event& event)
if (!event.isKeyboardEvent() || event.type() != EventTypeNames::keydown)
return;
setWasFocusedByMouse(false);
- if (renderer())
- renderer()->setShouldDoFullPaintInvalidation(true);
}
void Element::dispatchFocusEvent(Element* oldFocusedElement, FocusType type)

Powered by Google App Engine
This is Rietveld 408576698