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

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

Issue 1420503004: Restore optimization in LayoutBlockFlowLine width computation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: w/TestExpectations Created 5 years, 2 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/LayoutTests/TestExpectations ('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/core/layout/LayoutText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
index eb077d18146e13c291a97fb9328cc68620515ecf..b09ce120f8f944c4dc168af98faf055f8848985a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
@@ -1833,10 +1833,6 @@ int LayoutText::nextOffset(int current) const
bool LayoutText::computeCanUseSimpleFontCodePath() const
{
- if (RuntimeEnabledFeatures::alwaysUseComplexTextEnabled()
- || LayoutTestSupport::alwaysUseComplexTextForTest()) {
- return false;
- }
if (m_text.is8Bit())
return true;
return Character::characterRangeCodePath(characters16(), length()) == SimplePath;
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698