Title: [106172] trunk/Tools
Revision
106172
Author
[email protected]
Date
2012-01-27 17:22:26 -0800 (Fri, 27 Jan 2012)

Log Message

Followup to http://trac.webkit.org/changeset/106171.
Dan Bernstein pointed out correctly that I should
have used copy instead of initWithString.

Reviewed by Dan Bernstein.

* DumpRenderTree/mac/DumpRenderTreePasteboard.m:
(-[LocalPasteboard initWithName:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (106171 => 106172)


--- trunk/Tools/ChangeLog	2012-01-28 01:12:41 UTC (rev 106171)
+++ trunk/Tools/ChangeLog	2012-01-28 01:22:26 UTC (rev 106172)
@@ -1,5 +1,16 @@
 2012-01-27  Enrica Casucci  <[email protected]>
 
+        Followup to http://trac.webkit.org/changeset/106171.
+        Dan Bernstein pointed out correctly that I should
+        have used copy instead of initWithString.
+
+        Reviewed by Dan Bernstein.
+
+        * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
+        (-[LocalPasteboard initWithName:]):
+
+2012-01-27  Enrica Casucci  <[email protected]>
+
         DRT pasteboard object should return the correct pasteboard name.
         https://bugs.webkit.org/show_bug.cgi?id=77260
         

Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.m (106171 => 106172)


--- trunk/Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.m	2012-01-28 01:12:41 UTC (rev 106171)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.m	2012-01-28 01:22:26 UTC (rev 106172)
@@ -94,7 +94,7 @@
     typesArray = [[NSMutableArray alloc] init];
     typesSet = [[NSMutableSet alloc] init];
     dataByType = [[NSMutableDictionary alloc] init];
-    pasteboardName = [NSString stringWithString:name];
+    pasteboardName = [name copy];
     return self;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to