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

Unified Diff: third_party/WebKit/Source/platform/LayoutTestSupport.cpp

Issue 1394003004: Add flag to force complex text for tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/platform/LayoutTestSupport.cpp
diff --git a/third_party/WebKit/Source/platform/LayoutTestSupport.cpp b/third_party/WebKit/Source/platform/LayoutTestSupport.cpp
index 928de046ac4730c3f838a865bb2dfb2a0ae8f1f8..70eb860a0efe91cec3ae518d8dd4ecd07f04e711 100644
--- a/third_party/WebKit/Source/platform/LayoutTestSupport.cpp
+++ b/third_party/WebKit/Source/platform/LayoutTestSupport.cpp
@@ -35,6 +35,7 @@ namespace blink {
static bool s_isRunningLayoutTest = false;
static bool s_isFontAntialiasingEnabled = false;
+static bool s_alwaysUseComplexTextForTest = false;
bool LayoutTestSupport::isRunningLayoutTest()
{
@@ -56,4 +57,14 @@ void LayoutTestSupport::setFontAntialiasingEnabledForTest(bool value)
s_isFontAntialiasingEnabled = value;
}
+bool LayoutTestSupport::alwaysUseComplexTextForTest()
+{
+ return s_alwaysUseComplexTextForTest;
+}
+
+void LayoutTestSupport::setAlwaysUseComplexTextForTest(bool value)
+{
+ s_alwaysUseComplexTextForTest = value;
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/LayoutTestSupport.h ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698