Skip to content

Commit 5f8ea62

Browse files
committed
Qt build fix.
* UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::selectionStateChanged): Wrap the variable in PLATFORM(MAC), too, as it's unused on other platforms. Canonical link: https://commits.webkit.org/73758@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 54f1567 commit 5f8ea62

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

Source/WebKit2/ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2011-04-15 Alexey Proskuryakov <ap@apple.com>
2+
3+
Qt build fix.
4+
5+
* UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::selectionStateChanged): Wrap the variable
6+
in PLATFORM(MAC), too, as it's unused on other platforms.
7+
18
2011-04-15 Brady Eidson <beidson@apple.com>
29

310
Reviewed by Dan Bernstein.

Source/WebKit2/UIProcess/WebPageProxy.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,7 +2134,10 @@ void WebPageProxy::backForwardForwardListCount(int32_t& count)
21342134

21352135
void WebPageProxy::selectionStateChanged(const SelectionState& selectionState)
21362136
{
2137+
#if PLATFORM(MAC)
21372138
bool couldChangeSecureInputState = m_selectionState.isInPasswordField != selectionState.isInPasswordField || m_selectionState.isNone;
2139+
#endif
2140+
21382141
m_selectionState = selectionState;
21392142

21402143
#if PLATFORM(MAC)

0 commit comments

Comments
 (0)