Title: [136141] trunk/Source/WebKit2
Revision
136141
Author
[email protected]
Date
2012-11-29 10:22:30 -0800 (Thu, 29 Nov 2012)

Log Message

Fix the build after r136095
https://bugs.webkit.org/show_bug.cgi?id=103629

Unreviewed.

Add a static_cast to fix the build.

Patch by Andrei Bucur <[email protected]> on 2012-11-29

* Shared/mac/ObjCObjectGraphCoders.mm:
(WebKit::ObjCObjectGraphEncoder::baseEncode):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (136140 => 136141)


--- trunk/Source/WebKit2/ChangeLog	2012-11-29 18:22:01 UTC (rev 136140)
+++ trunk/Source/WebKit2/ChangeLog	2012-11-29 18:22:30 UTC (rev 136141)
@@ -1,3 +1,15 @@
+2012-11-29  Andrei Bucur  <[email protected]>
+
+        Fix the build after r136095
+        https://bugs.webkit.org/show_bug.cgi?id=103629
+
+        Unreviewed.
+
+        Add a static_cast to fix the build.
+
+        * Shared/mac/ObjCObjectGraphCoders.mm:
+        (WebKit::ObjCObjectGraphEncoder::baseEncode):
+
 2012-11-29  Christophe Dumez  <[email protected]>
 
         [CoordinatedGraphics] Have LayerTreeRenderer::ensureLayer() return the layer

Modified: trunk/Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm (136140 => 136141)


--- trunk/Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm	2012-11-29 18:22:01 UTC (rev 136140)
+++ trunk/Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm	2012-11-29 18:22:30 UTC (rev 136141)
@@ -94,7 +94,7 @@
 
         type = typeFromObject(m_root);
         if (type == UnknownType) {
-            [NSException raise:NSInvalidArgumentException format:@"Can not encode objects of class type '%@'", NSStringFromClass([m_root class])];
+            [NSException raise:NSInvalidArgumentException format:@"Can not encode objects of class type '%@'", static_cast<NSString *>(NSStringFromClass([m_root class]))];
         }
 
         encoder << static_cast<uint32_t>(type);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to