Commit 2a5e5d32 authored by darin's avatar darin

- get layout tests going again

        * page/mac/FrameMac.mm: (WebCore::Frame::setUseSecureKeyboardEntry):
        Replace assertion with a runtime check. We can consider changing it back to
        an assertion some day, but it's not important.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 28399bcb
2007-04-16 Darin Adler <darin@apple.com>
- get layout tests going again
* page/mac/FrameMac.mm: (WebCore::Frame::setUseSecureKeyboardEntry):
Replace assertion with a runtime check. We can consider changing it back to
an assertion some day, but it's not important.
2007-04-16 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
......@@ -508,8 +508,8 @@ void Frame::issueTransposeCommand()
const short enableRomanKeyboardsOnly = -23;
void Frame::setUseSecureKeyboardEntry(bool enable)
{
// Caller is responsible for only calling when it's an actual change.
ASSERT(enable != IsSecureEventInputEnabled());
if (enable == IsSecureEventInputEnabled())
return;
if (enable) {
EnableSecureEventInput();
// FIXME: Since KeyScript is deprecated in Leopard, we need a new solution for this. <rdar://problem/4727607>
......
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