Build fix.
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Mar 2011 22:22:33 +0000 (22:22 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Mar 2011 22:22:33 +0000 (22:22 +0000)
Source/WebKit/gtk:

* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker):

Tools:

* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::hasGrammarMarker):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@82166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
Tools/ChangeLog
Tools/DumpRenderTree/win/LayoutTestControllerWin.cpp

index dcdb68f..0da7ab6 100644 (file)
@@ -1,3 +1,10 @@
+2011-03-28  Adele Peterson  <adele@apple.com>
+
+        Build fix.
+
+        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+        (DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker):
+
 2011-03-28  Sergio Villar Senin  <svillar@igalia.com>
 
         Reviewed by Martin Robinson.
index de4fad8..1336f11 100644 (file)
@@ -649,7 +649,7 @@ bool DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker(WebKitWe
 {
     g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), FALSE);
 
-    return core(frame)->editor()->selectionStartHasSpellingMarkerFor(from, length);
+    return core(frame)->editor()->selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length);
 }
 
 bool DumpRenderTreeSupportGtk::findString(WebKitWebView* webView, const gchar* targetString, WebKitFindOptions findOptions)
index da790bb..3bbe2b3 100644 (file)
@@ -1,5 +1,12 @@
 2011-03-28  Adele Peterson  <adele@apple.com>
 
+        Build fix.
+
+        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
+        (LayoutTestController::hasGrammarMarker):
+
+2011-03-28  Adele Peterson  <adele@apple.com>
+
         Reviewed by Eric Seidel.
 
         Testing support for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type
index 863ee64..1d2f3d8 100644 (file)
@@ -1456,6 +1456,12 @@ bool LayoutTestController::hasSpellingMarker(int from, int length)
     return ret;
 }
 
+bool LayoutTestController::hasGrammarMarker(int from, int length)
+{
+    // FIXME: Implement this.
+    return false;
+}
+
 void LayoutTestController::dumpConfigurationForViewport(int /*deviceDPI*/, int /*deviceWidth*/, int /*deviceHeight*/, int /*availableWidth*/, int /*availableHeight*/)
 {
     // FIXME: Implement this.