Title: [169988] trunk/Source/WebKit2
Revision
169988
Author
[email protected]
Date
2014-06-15 04:04:19 -0700 (Sun, 15 Jun 2014)

Log Message

Unreviewed build fix for the GTK+ port after r169987.

* UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_can_execute_editing_command): The first passed-in parameter
is now a reference to a const String object.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (169987 => 169988)


--- trunk/Source/WebKit2/ChangeLog	2014-06-15 02:10:26 UTC (rev 169987)
+++ trunk/Source/WebKit2/ChangeLog	2014-06-15 11:04:19 UTC (rev 169988)
@@ -1,3 +1,11 @@
+2014-06-15  Zan Dobersek  <[email protected]>
+
+        Unreviewed build fix for the GTK+ port after r169987.
+
+        * UIProcess/API/gtk/WebKitWebView.cpp:
+        (webkit_web_view_can_execute_editing_command): The first passed-in parameter
+        is now a reference to a const String object.
+
 2014-06-14  Dan Bernstein  <[email protected]>
 
         Replace StringImpl* callback parameters with const String&

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp (169987 => 169988)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp	2014-06-15 02:10:26 UTC (rev 169987)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp	2014-06-15 11:04:19 UTC (rev 169988)
@@ -2513,7 +2513,7 @@
     g_return_if_fail(command);
 
     GTask* task = g_task_new(webView, cancellable, callback, userData);
-    getPage(webView)->validateCommand(String::fromUTF8(command), ValidateCommandCallback::create([task](StringImpl*, bool isEnabled, int32_t, CallbackBase::Error) {
+    getPage(webView)->validateCommand(String::fromUTF8(command), ValidateCommandCallback::create([task](const String&, bool isEnabled, int32_t, CallbackBase::Error) {
         g_task_return_boolean(adoptGRef(task).get(), isEnabled);        
     }));
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to