Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / LayoutTestSupport.cpp
index 41ca534..680c33f 100644 (file)
@@ -34,6 +34,7 @@
 namespace WebCore {
 
 static bool s_isRunningLayoutTest = false;
+static bool s_isFontAntialiasingEnabled = false;
 
 bool isRunningLayoutTest()
 {
@@ -45,4 +46,14 @@ void setIsRunningLayoutTest(bool value)
     s_isRunningLayoutTest = value;
 }
 
+bool isFontAntialiasingEnabledForTest()
+{
+    return s_isFontAntialiasingEnabled;
+}
+
+void setFontAntialiasingEnabledForTest(bool value)
+{
+    s_isFontAntialiasingEnabled = value;
+}
+
 } // namespace WebCore