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

Unified Diff: Source/modules/accessibility/AXObject.cpp

Issue 1186523004: Rename adjustPaintInvalidationRect and related to addVisualOverflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/layout/LayoutThemeMac.mm ('k') | Source/platform/Theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXObject.cpp
diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp
index ee1e4ad66972de2dfa42ef0291c791a0944a7aa9..c040275ff613fc27cc5f6ddc738e157a39ce2be0 100644
--- a/Source/modules/accessibility/AXObject.cpp
+++ b/Source/modules/accessibility/AXObject.cpp
@@ -882,8 +882,9 @@ IntRect AXObject::boundingBoxForQuads(LayoutObject* obj, const Vector<FloatQuad>
for (size_t i = 0; i < count; ++i) {
IntRect r = quads[i].enclosingBoundingBox();
if (!r.isEmpty()) {
+ // TODO(pdr): Should this be using visualOverflowRect?
if (obj->style()->hasAppearance())
- LayoutTheme::theme().adjustPaintInvalidationRect(obj, r);
+ LayoutTheme::theme().addVisualOverflow(*obj, r);
result.unite(r);
}
}
« no previous file with comments | « Source/core/layout/LayoutThemeMac.mm ('k') | Source/platform/Theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698