Commit b19178b3 authored by mrowe@apple.com's avatar mrowe@apple.com
Browse files

Fix <rdar://problem/5863552> REGRESSION (r30741): Attachments don't appear in...

Fix <rdar://problem/5863552> REGRESSION (r30741): Attachments don't appear in the iChat message window after sending

The order of arguments to -[NSDictionary initWithObjects:andKeys:] had been transposed accidentally during refactoring.

Reviewed by Dan Bernstein.

* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::createPlugin): Pass the arguments in the correct order.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 55c80297
2008-04-17 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
Fix <rdar://problem/5863552> REGRESSION (r30741): Attachments don't appear in the iChat message window after sending
The order of arguments to -[NSDictionary initWithObjects:andKeys:] had been transposed accidentally during refactoring.
* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::createPlugin): Pass the arguments in the correct order.
2008-04-17 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Dan Bernstein.
......
......@@ -1212,7 +1212,7 @@ Widget* WebFrameLoaderClient::createPlugin(const IntSize& size, Element* element
NSURL *URL = url;
if ([[webView UIDelegate] respondsToSelector:selector]) {
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] initWithObjects:kit(paramNames) forKeys:kit(paramValues)];
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] initWithObjects:kit(paramValues) forKeys:kit(paramNames)];
NSDictionary *arguments = [[NSDictionary alloc] initWithObjectsAndKeys:
attributes, WebPlugInAttributesKey,
[NSNumber numberWithInt:loadManually ? WebPlugInModeFull : WebPlugInModeEmbed], WebPlugInModeKey,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment