Rename Repaint to paintInvalidation in svg, part 2.

Apparently you can spell words with uppercase characters as well as
lower case characters.

BUG=338691

Review URL: https://codereview.chromium.org/468933002

git-svn-id: svn://svn.chromium.org/blink/trunk@180185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d72f4894
......@@ -146,7 +146,7 @@ void RenderSVGResourceContainer::markClientForInvalidation(RenderObject* client,
case BoundariesInvalidation:
client->setNeedsBoundariesUpdate();
break;
case RepaintInvalidation:
case PaintInvalidation:
if (client->view()) {
if (frameView()->isInPerformLayout())
client->setShouldDoFullPaintInvalidation(true);
......
......@@ -52,7 +52,7 @@ protected:
enum InvalidationMode {
LayoutAndBoundariesInvalidation = 1 << 0,
BoundariesInvalidation = 1 << 1,
RepaintInvalidation = 1 << 2,
PaintInvalidation = 1 << 2,
ParentOnlyInvalidation = 1 << 3
};
......
......@@ -438,8 +438,8 @@ void RenderSVGResourceFilter::primitiveAttributeChanged(RenderObject* object, co
return;
builder->clearResultsRecursive(effect);
// Repaint the image on the screen.
markClientForInvalidation(it->key, RepaintInvalidation);
// Issue paint invalidations for the image on the screen.
markClientForInvalidation(it->key, PaintInvalidation);
}
markAllClientLayersForInvalidation();
}
......
......@@ -40,14 +40,14 @@ void RenderSVGResourceGradient::removeAllClientsFromCache(bool markForInvalidati
{
m_gradientMap.clear();
m_shouldCollectGradientAttributes = true;
markAllClientsForInvalidation(markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation);
markAllClientsForInvalidation(markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
void RenderSVGResourceGradient::removeClientFromCache(RenderObject* client, bool markForInvalidation)
{
ASSERT(client);
m_gradientMap.remove(client);
markClientForInvalidation(client, markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation);
markClientForInvalidation(client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode)
......
......@@ -42,14 +42,14 @@ void RenderSVGResourcePattern::removeAllClientsFromCache(bool markForInvalidatio
{
m_patternMap.clear();
m_shouldCollectPatternAttributes = true;
markAllClientsForInvalidation(markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation);
markAllClientsForInvalidation(markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
void RenderSVGResourcePattern::removeClientFromCache(RenderObject* client, bool markForInvalidation)
{
ASSERT(client);
m_patternMap.remove(client);
markClientForInvalidation(client, markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation);
markClientForInvalidation(client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
PatternData* RenderSVGResourcePattern::buildPattern(RenderObject* object, unsigned short resourceMode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment