Commit d36a4958 authored by aliceli1's avatar aliceli1

Build Fix

        * platform/mac/PasteboardMac.mm:
        (WebCore::Pasteboard::writeSelection):



git-svn-id: svn://svn.chromium.org/blink/trunk@18962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 45f58e22
2007-01-18 Alice Liu <alice.liu@apple.com>
Build Fix
* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::writeSelection):
2007-01-18 Alice Liu <alice.liu@apple.com> 2007-01-18 Alice Liu <alice.liu@apple.com>
Reviewed by Mark Rowe. Reviewed by Mark Rowe.
......
...@@ -132,7 +132,7 @@ void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, ...@@ -132,7 +132,7 @@ void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete,
} }
[m_pasteboard declareTypes:types owner:nil]; [m_pasteboard declareTypes:types owner:nil];
#else #else
types = selectionPasteboardTypes(canSmartCopyOrDelete, [attributedString containsAttachments]); NSArray *types = selectionPasteboardTypes(canSmartCopyOrDelete, [attributedString containsAttachments]);
[m_pasteboard declareTypes:types owner:nil]; [m_pasteboard declareTypes:types owner:nil];
frame->editor()->client()->didSetSelectionTypesForPasteboard(); frame->editor()->client()->didSetSelectionTypesForPasteboard();
#endif #endif
......
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