Title: [86847] trunk/Source/WebCore
Revision
86847
Author
[email protected]
Date
2011-05-19 09:33:32 -0700 (Thu, 19 May 2011)

Log Message

Try to fix SUPPORT_AUTOCORRECTION_PANEL build.

* editing/SpellingCorrectionController.cpp:
(WebCore::SpellingCorrectionController::recordSpellcheckerResponseForModifiedCorrection):
(WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (86846 => 86847)


--- trunk/Source/WebCore/ChangeLog	2011-05-19 16:28:02 UTC (rev 86846)
+++ trunk/Source/WebCore/ChangeLog	2011-05-19 16:33:32 UTC (rev 86847)
@@ -1,3 +1,11 @@
+2011-05-19  Brady Eidson  <[email protected]>
+
+        Try to fix SUPPORT_AUTOCORRECTION_PANEL build.
+
+        * editing/SpellingCorrectionController.cpp:
+        (WebCore::SpellingCorrectionController::recordSpellcheckerResponseForModifiedCorrection):
+        (WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):
+
 2011-05-19  Darin Adler  <[email protected]>
 
         Try to fix SUPPORT_AUTOCORRECTION_PANEL build.

Modified: trunk/Source/WebCore/editing/SpellingCorrectionController.cpp (86846 => 86847)


--- trunk/Source/WebCore/editing/SpellingCorrectionController.cpp	2011-05-19 16:28:02 UTC (rev 86846)
+++ trunk/Source/WebCore/editing/SpellingCorrectionController.cpp	2011-05-19 16:33:32 UTC (rev 86847)
@@ -500,7 +500,7 @@
     
     // Spelling corrected text has been edited. We need to determine whether user has reverted it to original text or
     // edited it to something else, and notify spellchecker accordingly.
-    if (markersHaveIdenticalDescription(correctedOnceMarkers) && correctedOnceMarkers[0].description == corrected)
+    if (markersHaveIdenticalDescription(correctedOnceMarkers) && correctedOnceMarkers[0].description() == corrected)
         client()->recordAutocorrectionResponse(EditorClient::AutocorrectionReverted, corrected, correction);
     else
         client()->recordAutocorrectionResponse(EditorClient::AutocorrectionEdited, corrected, correction);
@@ -553,7 +553,7 @@
     Vector<DocumentMarker> markers = markerController->markersInRange(precedingCharacterRange.get(), DocumentMarker::DeletedAutocorrection);
 
     for (size_t i = 0; i < markers.size(); ++i) {
-        if (markers[i].description == stringToBeReplaced)
+        if (markers[i].description() == stringToBeReplaced)
             return false;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to