Commit 33fc8808 authored by bweinstein@apple.com's avatar bweinstein@apple.com

Fix a typo in the VK_LEFT case of performDefaultBehaviorForKeyEvent.

Rubber-stamped by Sam Weinig.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::performDefaultBehaviorForKeyEvent): It should be a logical or,
    not a bitwise or.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9825c8a8
2011-03-24 Brian Weinstein <bweinstein@apple.com>
Rubber-stamped by Sam Weinig.
Fix a typo in the VK_LEFT case of performDefaultBehaviorForKeyEvent.
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::performDefaultBehaviorForKeyEvent): It should be a logical or,
not a bitwise or.
2011-03-24 Jeff Miller <jeffm@apple.com>
Fix typo - USE(CF_NETWORK) should be USE(CFNETWORK).
......
......@@ -390,7 +390,7 @@ bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboard
if (keyboardEvent.metaKey())
m_page->goBack();
else {
if (keyboardEvent.altKey() | keyboardEvent.controlKey())
if (keyboardEvent.altKey() || keyboardEvent.controlKey())
scroll(m_page.get(), ScrollLeft, ScrollByPage);
else
scroll(m_page.get(), ScrollLeft, ScrollByLine);
......
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