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

Unified Diff: third_party/WebKit/Source/web/WebKit.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
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/Font.cpp ('k') | third_party/WebKit/public/web/WebKit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebKit.cpp
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp
index dca9111bed0dd0637169403bbdb84a930ad6a32c..1a0ef8b1624c13778032ef0a05852a118cf497a6 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -265,6 +265,16 @@ bool fontAntialiasingEnabledForTest()
return LayoutTestSupport::isFontAntialiasingEnabledForTest();
}
+void setAlwaysUseComplexTextForTest(bool value)
+{
+ LayoutTestSupport::setAlwaysUseComplexTextForTest(value);
+}
+
+bool alwaysUseComplexTextForTest()
+{
+ return LayoutTestSupport::alwaysUseComplexTextForTest();
+}
+
void enableLogChannel(const char* name)
{
#if !LOG_DISABLED
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/Font.cpp ('k') | third_party/WebKit/public/web/WebKit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698