Title: [145360] trunk/Source/WebKit2
Revision
145360
Author
g.czajkow...@samsung.com
Date
2013-03-11 06:54:11 -0700 (Mon, 11 Mar 2013)

Log Message

[EFL] Build fix after r143192 when SPELLCHECK is off

Unreviewed build fix when SPELLCHECK macro is off.

* UIProcess/efl/TextCheckerEfl.cpp:
(WebKit):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (145359 => 145360)


--- trunk/Source/WebKit2/ChangeLog	2013-03-11 13:15:17 UTC (rev 145359)
+++ trunk/Source/WebKit2/ChangeLog	2013-03-11 13:54:11 UTC (rev 145360)
@@ -1,3 +1,12 @@
+2013-03-11  Grzegorz Czajkowski  <g.czajkow...@samsung.com>
+
+        [EFL] Build fix after r143192 when SPELLCHECK is off
+
+        Unreviewed build fix when SPELLCHECK macro is off.
+
+        * UIProcess/efl/TextCheckerEfl.cpp:
+        (WebKit):
+
 2013-03-10  Tim Horton  <timothy_hor...@apple.com>
 
         WebPage::scaledSnapshotWithOptions returns a corrupt snapshot if you request a rect larger than the FrameView’s size

Modified: trunk/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp (145359 => 145360)


--- trunk/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp	2013-03-11 13:15:17 UTC (rev 145359)
+++ trunk/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp	2013-03-11 13:54:11 UTC (rev 145360)
@@ -125,7 +125,7 @@
 #endif
 }
 
-#if USE(UNIFIED_TEXT_CHECKING)
+#if ENABLE(SPELLCHECK)
 static int nextWordOffset(const UChar* text, int length, int currentOffset)
 {
     // FIXME: avoid creating textIterator object here, it could be passed as a parameter.
@@ -151,7 +151,9 @@
 
     return wordOffset;
 }
+#endif // ENABLE(SPELLCHECK)
 
+#if USE(UNIFIED_TEXT_CHECKING)
 Vector<TextCheckingResult> TextChecker::checkTextOfParagraph(int64_t spellDocumentTag, const UChar* text, int length, uint64_t checkingTypes)
 {
     Vector<TextCheckingResult> paragraphCheckingResult;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to