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

Unified Diff: third_party/WebKit/Source/platform/text/BidiResolver.h

Issue 1741073002: Rename enums/functions that collide in chromium style in core/layout/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-6
Patch Set: get-names-7: rebase Created 4 years, 10 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 | « third_party/WebKit/Source/platform/PODRedBlackTree.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/text/BidiResolver.h
diff --git a/third_party/WebKit/Source/platform/text/BidiResolver.h b/third_party/WebKit/Source/platform/text/BidiResolver.h
index bf81eab9d84dce0f88a94c21f81afab67f797652..3a72bab923bc19c41f1a1301b13c81caea58f439 100644
--- a/third_party/WebKit/Source/platform/text/BidiResolver.h
+++ b/third_party/WebKit/Source/platform/text/BidiResolver.h
@@ -66,8 +66,8 @@ public:
// Adding a pair of midpoints before a character will split it out into a new line box.
void ensureCharacterGetsLineBox(Iterator& textParagraphSeparator)
{
- startIgnoringSpaces(Iterator(0, textParagraphSeparator.lineLayoutItem(), textParagraphSeparator.offset() - 1));
- stopIgnoringSpaces(Iterator(0, textParagraphSeparator.lineLayoutItem(), textParagraphSeparator.offset()));
+ startIgnoringSpaces(Iterator(0, textParagraphSeparator.getLineLayoutItem(), textParagraphSeparator.offset() - 1));
+ stopIgnoringSpaces(Iterator(0, textParagraphSeparator.getLineLayoutItem(), textParagraphSeparator.offset()));
}
void checkMidpoints(Iterator& lBreak)
@@ -75,7 +75,7 @@ public:
// Check to see if our last midpoint is a start point beyond the line break. If so,
// shave it off the list, and shave off a trailing space if the previous end point doesn't
// preserve whitespace.
- if (lBreak.lineLayoutItem() && m_numMidpoints && !(m_numMidpoints % 2)) {
+ if (lBreak.getLineLayoutItem() && m_numMidpoints && !(m_numMidpoints % 2)) {
Iterator* midpointsIterator = m_midpoints.data();
Iterator& endpoint = midpointsIterator[m_numMidpoints - 2];
const Iterator& startpoint = midpointsIterator[m_numMidpoints - 1];
@@ -85,7 +85,7 @@ public:
if (currpoint == lBreak) {
// We hit the line break before the start point. Shave off the start point.
m_numMidpoints--;
- if (endpoint.lineLayoutItem().style()->collapseWhiteSpace() && endpoint.lineLayoutItem().isText())
+ if (endpoint.getLineLayoutItem().style()->collapseWhiteSpace() && endpoint.getLineLayoutItem().isText())
endpoint.setOffset(endpoint.offset() - 1);
}
}
« no previous file with comments | « third_party/WebKit/Source/platform/PODRedBlackTree.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698