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

Unified Diff: Source/core/rendering/RenderThemeChromiumMac.mm

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/RenderThemeChromiumMac.h ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderThemeChromiumMac.mm
diff --git a/Source/core/rendering/RenderThemeChromiumMac.mm b/Source/core/rendering/RenderThemeChromiumMac.mm
index 03e7ce1a0b40c33748b3f1b44d8149e90d152ebd..50df60208544b962aa64d8c7d1d2bc447c115acd 100644
--- a/Source/core/rendering/RenderThemeChromiumMac.mm
+++ b/Source/core/rendering/RenderThemeChromiumMac.mm
@@ -529,7 +529,7 @@ bool RenderThemeChromiumMac::isControlStyled(const RenderStyle* style, const Cac
const int sliderThumbShadowBlur = 1;
-void RenderThemeChromiumMac::adjustRepaintRect(const RenderObject* o, IntRect& r)
+void RenderThemeChromiumMac::adjustPaintInvalidationRect(const RenderObject* o, IntRect& r)
{
ControlPart part = o->style()->appearance();
@@ -541,7 +541,7 @@ void RenderThemeChromiumMac::adjustRepaintRect(const RenderObject* o, IntRect& r
case SquareButtonPart:
case ButtonPart:
case InnerSpinButtonPart:
- return RenderTheme::adjustRepaintRect(o, r);
+ return RenderTheme::adjustPaintInvalidationRect(o, r);
default:
break;
}
@@ -1787,7 +1787,7 @@ NSView* RenderThemeChromiumMac::documentViewFor(RenderObject*) const
// NSCell(s) lack a parent NSView. Therefore controls don't have their tint
// color updated correctly when the application is activated/deactivated.
// FocusController's setActive() is called when the application is
-// activated/deactivated, which causes a repaint at which time this code is
+// activated/deactivated, which causes a paint invalidation at which time this code is
// called.
// This function should be called before drawing any NSCell-derived controls,
// unless you're sure it isn't needed.
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.h ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698