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

Unified Diff: Source/core/rendering/RenderProgress.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/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderTableCol.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderProgress.cpp
diff --git a/Source/core/rendering/RenderProgress.cpp b/Source/core/rendering/RenderProgress.cpp
index 5b1c6fd1bfd357c659276be4945da1e39c3720be..358a909401e1b31932c334f7f33c28fc2558bf30 100644
--- a/Source/core/rendering/RenderProgress.cpp
+++ b/Source/core/rendering/RenderProgress.cpp
@@ -52,7 +52,7 @@ void RenderProgress::updateFromElement()
m_position = element->position();
updateAnimationState();
- paintInvalidationForWholeRenderer();
+ setShouldDoFullPaintInvalidation(true);
RenderBlockFlow::updateFromElement();
}
@@ -69,7 +69,7 @@ bool RenderProgress::isDeterminate() const
void RenderProgress::animationTimerFired(Timer<RenderProgress>*)
{
- paintInvalidationForWholeRenderer();
+ setShouldDoFullPaintInvalidation(true);
if (!m_animationTimer.isActive() && m_animating)
m_animationTimer.startOneShot(m_animationRepeatInterval, FROM_HERE);
}
« no previous file with comments | « Source/core/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderTableCol.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698