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

Unified Diff: Source/core/html/shadow/SpinButtonElement.cpp

Issue 478433002: Avoid RenderObject::paintInvalidationForWholeRenderer() if possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations Created 6 years, 4 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
« no previous file with comments | « Source/core/html/shadow/MediaControls.cpp ('k') | Source/core/rendering/ImageQualityController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/SpinButtonElement.cpp
diff --git a/Source/core/html/shadow/SpinButtonElement.cpp b/Source/core/html/shadow/SpinButtonElement.cpp
index 2195609af9b86cf768549070a11bea8066daabae..2679b01427916925c7f7f0708cec24ae2251b9b9 100644
--- a/Source/core/html/shadow/SpinButtonElement.cpp
+++ b/Source/core/html/shadow/SpinButtonElement.cpp
@@ -125,7 +125,7 @@ void SpinButtonElement::defaultEventHandler(Event* event)
UpDownState oldUpDownState = m_upDownState;
m_upDownState = (local.y() < box->height() / 2) ? Up : Down;
if (m_upDownState != oldUpDownState)
- renderer()->paintInvalidationForWholeRenderer();
+ renderer()->setShouldDoFullPaintInvalidation(true);
} else {
releaseCapture();
m_upDownState = Indeterminate;
« no previous file with comments | « Source/core/html/shadow/MediaControls.cpp ('k') | Source/core/rendering/ImageQualityController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698