ieframe/tests: Use todo_wine_if() in tests.

Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Frédéric Delanoy 2016-02-27 15:27:32 +01:00 committed by Alexandre Julliard
parent 846155f153
commit 014e06b9c5

View file

@ -1654,9 +1654,7 @@ static HRESULT WINAPI DocHostUIHandler_GetExternal(IDocHostUIHandler2 *iface, ID
static HRESULT WINAPI DocHostUIHandler_TranslateUrl(IDocHostUIHandler2 *iface, DWORD dwTranslate,
OLECHAR *pchURLIn, OLECHAR **ppchURLOut)
{
if(is_downloading && !(dwl_flags & DWL_EXPECT_BEFORE_NAVIGATE))
todo_wine CHECK_EXPECT(TranslateUrl);
else
todo_wine_if(is_downloading && !(dwl_flags & DWL_EXPECT_BEFORE_NAVIGATE))
CHECK_EXPECT(TranslateUrl);
return E_NOTIMPL;
}