Rolling out a change that broke Mail stationary.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Dec 2006 00:38:52 +0000 (00:38 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Dec 2006 00:38:52 +0000 (00:38 +0000)
        <rdar://problem/4699166> REGRESSION: Background images in Mail stationery do not load

        * WebView/WebUnarchivingState.m:
        (-[WebUnarchivingState archivedResourceForURL:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18092 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView/WebUnarchivingState.m

index 9835375d844103000e8939fb9a7d4ea275964d8a..814575a1c1a6bf0c320ef876e379a5d27ae975c5 100644 (file)
@@ -1,3 +1,11 @@
+2006-12-08  Timothy Hatcher  <timothy@apple.com>
+
+        Rolling out a change that broke Mail stationary.
+        <rdar://problem/4699166> REGRESSION: Background images in Mail stationery do not load
+
+        * WebView/WebUnarchivingState.m:
+        (-[WebUnarchivingState archivedResourceForURL:]):
+
 2006-12-08  Don Gibson  <dgibson77@gmail.com>
 
         Reviewed and landed by Alexey.
 2006-12-08  Don Gibson  <dgibson77@gmail.com>
 
         Reviewed and landed by Alexey.
index f3c83cfe1fd34b2490f380b8c98dbdf1b85c0dfa..0a8ff0b533c49fa65de36c763b2b0003458acc40 100644 (file)
@@ -76,7 +76,9 @@
 
 - (WebResource *)archivedResourceForURL:(NSURL *)URL
 {
 
 - (WebResource *)archivedResourceForURL:(NSURL *)URL
 {
-    return [archivedResources objectForKey:[URL _web_originalDataAsString]];
+    // FIXME: <rdar://problem/4699166> REGRESSION: Background images in Mail stationery do not load
+    // This should be [URL _web_originalDataAsString]
+    return [archivedResources objectForKey:URL];
 }
 
 - (WebArchive *)popSubframeArchiveWithFrameName:(NSString *)frameName
 }
 
 - (WebArchive *)popSubframeArchiveWithFrameName:(NSString *)frameName