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

Unified Diff: Source/core/html/HTMLOptionElement.cpp

Issue 1170843003: Don't force a <select> repaint whenever an <option> changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar rebaselines. Created 5 years, 6 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
« LayoutTests/TestExpectations ('K') | « Source/core/html/HTMLOptionElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptionElement.cpp
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp
index 34cd3ce7479a3c6f85afda624817f2f962540ded..14e32b42994a99e3b9c2b1889a519d414d71ed54 100644
--- a/Source/core/html/HTMLOptionElement.cpp
+++ b/Source/core/html/HTMLOptionElement.cpp
@@ -331,18 +331,6 @@ PassRefPtr<ComputedStyle> HTMLOptionElement::customStyleForLayoutObject()
return m_style;
}
-void HTMLOptionElement::didRecalcStyle(StyleRecalcChange change)
-{
- if (change == NoChange)
- return;
-
- // FIXME: We ask our owner select to repaint regardless of which property changed.
- if (HTMLSelectElement* select = ownerSelectElement()) {
- if (LayoutObject* layoutObject = select->layoutObject())
- layoutObject->setShouldDoFullPaintInvalidation();
- }
-}
-
String HTMLOptionElement::textIndentedToRespectGroupLabel() const
{
ContainerNode* parent = parentNode();
« LayoutTests/TestExpectations ('K') | « Source/core/html/HTMLOptionElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698