Title: [146215] trunk/Source/WebCore
Revision
146215
Author
t...@chromium.org
Date
2013-03-19 10:06:10 -0700 (Tue, 19 Mar 2013)

Log Message

Cleanup defaultUnifiedTextCheckerEnabled type
https://bugs.webkit.org/show_bug.cgi?id=112640

Reviewed by Adam Barth.

It's a bool setting. I accidentally declared the default value as a double
in r139202.

No new tests, this is a refactor/code cleanup.

* page/Settings.cpp:
(WebCore): Switch from double to a bool.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (146214 => 146215)


--- trunk/Source/WebCore/ChangeLog	2013-03-19 16:56:46 UTC (rev 146214)
+++ trunk/Source/WebCore/ChangeLog	2013-03-19 17:06:10 UTC (rev 146215)
@@ -1,3 +1,18 @@
+2013-03-19  Tony Chang  <t...@chromium.org>
+
+        Cleanup defaultUnifiedTextCheckerEnabled type
+        https://bugs.webkit.org/show_bug.cgi?id=112640
+
+        Reviewed by Adam Barth.
+
+        It's a bool setting. I accidentally declared the default value as a double
+        in r139202.
+
+        No new tests, this is a refactor/code cleanup.
+
+        * page/Settings.cpp:
+        (WebCore): Switch from double to a bool.
+
 2013-03-19  Alexei Filippov  <a...@chromium.org>
 
         Web Inspector: Increase DataGrid default font size.

Modified: trunk/Source/WebCore/page/Settings.cpp (146214 => 146215)


--- trunk/Source/WebCore/page/Settings.cpp	2013-03-19 16:56:46 UTC (rev 146214)
+++ trunk/Source/WebCore/page/Settings.cpp	2013-03-19 17:06:10 UTC (rev 146215)
@@ -137,9 +137,9 @@
 
 static const double defaultIncrementalRenderingSuppressionTimeoutInSeconds = 5;
 #if USE(UNIFIED_TEXT_CHECKING)
-static const double defaultUnifiedTextCheckerEnabled = true;
+static const bool defaultUnifiedTextCheckerEnabled = true;
 #else
-static const double defaultUnifiedTextCheckerEnabled = false;
+static const bool defaultUnifiedTextCheckerEnabled = false;
 #endif
 #if PLATFORM(CHROMIUM)
 #if OS(MAC_OS_X)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to