diff options
Diffstat (limited to 'chrome_frame/urlmon_bind_status_callback.cc')
-rw-r--r-- | chrome_frame/urlmon_bind_status_callback.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome_frame/urlmon_bind_status_callback.cc b/chrome_frame/urlmon_bind_status_callback.cc index 8d724f4..851edee 100644 --- a/chrome_frame/urlmon_bind_status_callback.cc +++ b/chrome_frame/urlmon_bind_status_callback.cc @@ -234,9 +234,9 @@ STDMETHODIMP BSCBStorageBind::OnDataAvailable(DWORD flags, DWORD size, PlatformThread::CurrentId()); // Do not touch anything other than text/html. - const CLIPFORMAT text_html = RegisterClipboardFormat(CFSTR_MIME_HTML); bool is_interesting = (format_etc && stgmed && stgmed->pstm && - (stgmed->tymed == TYMED_ISTREAM) && (text_html == format_etc->cfFormat)); + stgmed->tymed == TYMED_ISTREAM && + IsTextHtmlClipFormat(format_etc->cfFormat)); if (!is_interesting) { // Play back report progress so far. @@ -332,4 +332,5 @@ HRESULT BSCBStorageBind::MayPlayBack(DWORD flags) { } return hr; -}
\ No newline at end of file +} + |