Title: [146391] trunk/Source/WebCore
Revision
146391
Author
[email protected]
Date
2013-03-20 14:36:25 -0700 (Wed, 20 Mar 2013)

Log Message

Assertion in LegacyWebArchive::create() in editing tests
https://bugs.webkit.org/show_bug.cgi?id=112642

Reviewed by Simon Fraser.

Address Simon's review comment. Don't convert String to MIMEType just to convert it back to String.

* platform/mac/PasteboardMac.mm:
(WebCore::fragmentFromWebArchive):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (146390 => 146391)


--- trunk/Source/WebCore/ChangeLog	2013-03-20 21:26:07 UTC (rev 146390)
+++ trunk/Source/WebCore/ChangeLog	2013-03-20 21:36:25 UTC (rev 146391)
@@ -1,3 +1,15 @@
+2013-03-20  Ryosuke Niwa  <[email protected]>
+
+        Assertion in LegacyWebArchive::create() in editing tests
+        https://bugs.webkit.org/show_bug.cgi?id=112642
+
+        Reviewed by Simon Fraser.
+
+        Address Simon's review comment. Don't convert String to MIMEType just to convert it back to String.
+
+        * platform/mac/PasteboardMac.mm:
+        (WebCore::fragmentFromWebArchive):
+
 2013-03-20  Zan Dobersek  <[email protected]>
 
         [GTK] Build ANGLE sources into a separate library from libWebCore.la

Modified: trunk/Source/WebCore/platform/mac/PasteboardMac.mm (146390 => 146391)


--- trunk/Source/WebCore/platform/mac/PasteboardMac.mm	2013-03-20 21:26:07 UTC (rev 146390)
+++ trunk/Source/WebCore/platform/mac/PasteboardMac.mm	2013-03-20 21:36:25 UTC (rev 146391)
@@ -468,7 +468,7 @@
     if (!mainResource)
         return 0;
 
-    NSString *MIMEType = mainResource->mimeType();
+    const String& MIMEType = mainResource->mimeType();
     if (!frame || !frame->document())
         return 0;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to