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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.h

Issue 1473773002: Clarify naming for fast-path in setLogicalWidthForTextRun (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index f7a2b20c402623aaf0b1a5e371d5eabc15890f9d..4a8be7c8a84577cc77a86aabdca99a22d45ea750 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -173,6 +173,8 @@ public:
bool isAllCollapsibleWhitespace() const;
bool isRenderedCharacter(int offsetInNode) const;
+ // TODO(eae): Rename and change to only handle the word measurements use
+ // case once the simple code path has been removed. crbug.com/404597
bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; }
void removeAndDestroyTextBoxes();

Powered by Google App Engine
This is Rietveld 408576698