Title: [163885] trunk/Source/WebKit/win
Revision
163885
Author
[email protected]
Date
2014-02-11 09:50:52 -0800 (Tue, 11 Feb 2014)

Log Message

[WinCairo] Compile error related to toString function.
https://bugs.webkit.org/show_bug.cgi?id=128607

Patch by [email protected] <[email protected]> on 2014-02-11
Reviewed by Brent Fulgham.

* WebView.cpp:
(toString): Added another toString function to make sure we are not trying to use WTF::toString.

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (163884 => 163885)


--- trunk/Source/WebKit/win/ChangeLog	2014-02-11 17:49:30 UTC (rev 163884)
+++ trunk/Source/WebKit/win/ChangeLog	2014-02-11 17:50:52 UTC (rev 163885)
@@ -1,3 +1,13 @@
+2014-02-11  [email protected]  <[email protected]>
+
+        [WinCairo] Compile error related to toString function.
+        https://bugs.webkit.org/show_bug.cgi?id=128607
+
+        Reviewed by Brent Fulgham.
+
+        * WebView.cpp:
+        (toString): Added another toString function to make sure we are not trying to use WTF::toString.
+
 2014-02-08  Ryosuke Niwa  <[email protected]>
 
         Cleanup the interface of FrameSelection

Modified: trunk/Source/WebKit/win/WebView.cpp (163884 => 163885)


--- trunk/Source/WebKit/win/WebView.cpp	2014-02-11 17:49:30 UTC (rev 163884)
+++ trunk/Source/WebKit/win/WebView.cpp	2014-02-11 17:50:52 UTC (rev 163885)
@@ -227,6 +227,11 @@
     return String(bstr, SysStringLen(bstr));
 }
 
+static inline String toString(BString &bstr)
+{
+    return String(bstr, SysStringLen(bstr));
+}
+
 static inline URL toURL(BSTR bstr)
 {
     return URL(URL(), toString(bstr));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to