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

Unified Diff: Source/core/rendering/RenderProgress.cpp

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderRegion.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 00bcb33548c87423bf1aad3474f77c14c22d4009..b3d994d6c3c98f49d850a1498f4993beb31ef603 100644
--- a/Source/core/rendering/RenderProgress.cpp
+++ b/Source/core/rendering/RenderProgress.cpp
@@ -54,7 +54,7 @@ void RenderProgress::updateFromElement()
m_position = element->position();
updateAnimationState();
- repaint();
+ paintInvalidationForWholeRenderer();
RenderBlockFlow::updateFromElement();
}
@@ -71,7 +71,7 @@ bool RenderProgress::isDeterminate() const
void RenderProgress::animationTimerFired(Timer<RenderProgress>*)
{
- repaint();
+ paintInvalidationForWholeRenderer();
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/RenderRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698