Changeset 88704 in webkit


Ignore:
Timestamp:
Jun 13, 2011 3:06:18 PM (13 years ago)
Author:
dcheng@chromium.org
Message:

2011-06-13 Daniel Cheng <dcheng@chromium.org>

Reviewed by Eric Seidel.

[chromium] Dragging images to Mail.app results in broken attachments
https://bugs.webkit.org/show_bug.cgi?id=62466

No new tests.

  • platform/chromium/ClipboardChromium.cpp: (WebCore::ClipboardChromium::declareAndWriteDragImage):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88698 r88704  
     12011-06-13  Daniel Cheng  <dcheng@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [chromium] Dragging images to Mail.app results in broken attachments
     6        https://bugs.webkit.org/show_bug.cgi?id=62466
     7
     8        No new tests.
     9
     10        * platform/chromium/ClipboardChromium.cpp:
     11        (WebCore::ClipboardChromium::declareAndWriteDragImage):
     12
    1132011-06-13  Adrienne Walker  <enne@google.com>
    214
  • trunk/Source/WebCore/platform/chromium/ClipboardChromium.cpp

    r87848 r88704  
    265265        return;
    266266
    267     // Put img tag on the clipboard referencing the image
     267#if !defined(OS_MACOSX)
     268    // Put img tag on the clipboard referencing the image. We don't do this on Mac to match Safari
     269    // behavior and to ensure that an image dragged to Mail.app is properly attached.
    268270    m_dataObject->setData(mimeTypeTextHTML, imageToMarkup(fullURL, element));
     271#endif
    269272}
    270273
Note: See TracChangeset for help on using the changeset viewer.