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, ...@@ -146,7 +146,7 @@ void RenderSVGResourceContainer::markClientForInvalidation(RenderObject* client,
case BoundariesInvalidation: case BoundariesInvalidation:
client->setNeedsBoundariesUpdate(); client->setNeedsBoundariesUpdate();
break; break;
case RepaintInvalidation: case PaintInvalidation:
if (client->view()) { if (client->view()) {
if (frameView()->isInPerformLayout()) if (frameView()->isInPerformLayout())
client->setShouldDoFullPaintInvalidation(true); client->setShouldDoFullPaintInvalidation(true);
......
...@@ -52,7 +52,7 @@ protected: ...@@ -52,7 +52,7 @@ protected:
enum InvalidationMode { enum InvalidationMode {
LayoutAndBoundariesInvalidation = 1 << 0, LayoutAndBoundariesInvalidation = 1 << 0,
BoundariesInvalidation = 1 << 1, BoundariesInvalidation = 1 << 1,
RepaintInvalidation = 1 << 2, PaintInvalidation = 1 << 2,
ParentOnlyInvalidation = 1 << 3 ParentOnlyInvalidation = 1 << 3
}; };
......
...@@ -438,8 +438,8 @@ void RenderSVGResourceFilter::primitiveAttributeChanged(RenderObject* object, co ...@@ -438,8 +438,8 @@ void RenderSVGResourceFilter::primitiveAttributeChanged(RenderObject* object, co
return; return;
builder->clearResultsRecursive(effect); builder->clearResultsRecursive(effect);
// Repaint the image on the screen. // Issue paint invalidations for the image on the screen.
markClientForInvalidation(it->key, RepaintInvalidation); markClientForInvalidation(it->key, PaintInvalidation);
} }
markAllClientLayersForInvalidation(); markAllClientLayersForInvalidation();
} }
......
...@@ -40,14 +40,14 @@ void RenderSVGResourceGradient::removeAllClientsFromCache(bool markForInvalidati ...@@ -40,14 +40,14 @@ void RenderSVGResourceGradient::removeAllClientsFromCache(bool markForInvalidati
{ {
m_gradientMap.clear(); m_gradientMap.clear();
m_shouldCollectGradientAttributes = true; m_shouldCollectGradientAttributes = true;
markAllClientsForInvalidation(markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation); markAllClientsForInvalidation(markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
} }
void RenderSVGResourceGradient::removeClientFromCache(RenderObject* client, bool markForInvalidation) void RenderSVGResourceGradient::removeClientFromCache(RenderObject* client, bool markForInvalidation)
{ {
ASSERT(client); ASSERT(client);
m_gradientMap.remove(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) bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode)
......
...@@ -42,14 +42,14 @@ void RenderSVGResourcePattern::removeAllClientsFromCache(bool markForInvalidatio ...@@ -42,14 +42,14 @@ void RenderSVGResourcePattern::removeAllClientsFromCache(bool markForInvalidatio
{ {
m_patternMap.clear(); m_patternMap.clear();
m_shouldCollectPatternAttributes = true; m_shouldCollectPatternAttributes = true;
markAllClientsForInvalidation(markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation); markAllClientsForInvalidation(markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
} }
void RenderSVGResourcePattern::removeClientFromCache(RenderObject* client, bool markForInvalidation) void RenderSVGResourcePattern::removeClientFromCache(RenderObject* client, bool markForInvalidation)
{ {
ASSERT(client); ASSERT(client);
m_patternMap.remove(client); m_patternMap.remove(client);
markClientForInvalidation(client, markForInvalidation ? RepaintInvalidation : ParentOnlyInvalidation); markClientForInvalidation(client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
} }
PatternData* RenderSVGResourcePattern::buildPattern(RenderObject* object, unsigned short resourceMode) 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