Commit f328a36c authored by mrobinson@webkit.org's avatar mrobinson@webkit.org
Browse files

2010-05-20 Martin Robinson <mrobinson@igalia.com>

        Unreviewed.

        Fix the Windows build.

        * WebView.cpp:
        (WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6fcd18d7
2010-05-20 Martin Robinson <mrobinson@igalia.com>
Unreviewed.
Fix the Windows build.
* WebView.cpp:
(WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'.
2010-05-20 Martin Robinson <mrobinson@webkit.org>
Reviewed by Ojan Vafai.
......
......@@ -4593,11 +4593,11 @@ HRESULT WebView::notifyPreferencesChanged(IWebNotification* notification)
return hr;
settings->setEditableLinkBehavior((EditableLinkBehavior)behavior);
WebKitEditingBehavior behavior;
hr = preferences->editingBehavior(&behavior);
WebKitEditingBehavior editingBehavior;
hr = preferences->editingBehavior(&editingBehavior);
if (FAILED(hr))
return hr;
settings->setEditingBehavior((EditingBehavior)behavior);
settings->setEditingBehavior((EditingBehavior)editingBehavior);
hr = preferences->usesPageCache(&enabled);
if (FAILED(hr))
......
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