зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1179695 - Remove mWasAsync from WidgetQueryContentEvent. r=masayuki,nchen
This commit is contained in:
Родитель
7e8beb711d
Коммит
e7d7a10538
|
@ -510,7 +510,6 @@ ContentCacheInParent::HandleQueryContentEvent(WidgetQueryContentEvent& aEvent,
|
|||
MOZ_ASSERT(aWidget);
|
||||
|
||||
aEvent.mSucceeded = false;
|
||||
aEvent.mWasAsync = false;
|
||||
aEvent.mReply.mFocusedWidget = aWidget;
|
||||
|
||||
switch (aEvent.message) {
|
||||
|
|
|
@ -464,7 +464,6 @@ public:
|
|||
nsIWidget* aWidget)
|
||||
: WidgetGUIEvent(aIsTrusted, aMessage, aWidget, eQueryContentEventClass)
|
||||
, mSucceeded(false)
|
||||
, mWasAsync(false)
|
||||
, mUseNativeLineBreak(true)
|
||||
, mWithFontRanges(false)
|
||||
{
|
||||
|
@ -546,7 +545,6 @@ public:
|
|||
}
|
||||
|
||||
bool mSucceeded;
|
||||
bool mWasAsync;
|
||||
bool mUseNativeLineBreak;
|
||||
bool mWithFontRanges;
|
||||
struct
|
||||
|
|
|
@ -1895,7 +1895,7 @@ nsWindow::OnIMEEvent(AndroidGeckoEvent *ae)
|
|||
this);
|
||||
InitEvent(event, nullptr);
|
||||
DispatchEvent(&event);
|
||||
MOZ_ASSERT(event.mSucceeded && !event.mWasAsync);
|
||||
MOZ_ASSERT(event.mSucceeded);
|
||||
|
||||
if (start < 0)
|
||||
start = int32_t(event.GetSelectionStart());
|
||||
|
@ -1978,7 +1978,7 @@ nsWindow::OnIMEEvent(AndroidGeckoEvent *ae)
|
|||
this);
|
||||
InitEvent(queryEvent, nullptr);
|
||||
DispatchEvent(&queryEvent);
|
||||
MOZ_ASSERT(queryEvent.mSucceeded && !queryEvent.mWasAsync);
|
||||
MOZ_ASSERT(queryEvent.mSucceeded);
|
||||
event.mData = queryEvent.mReply.mString;
|
||||
}
|
||||
|
||||
|
|
|
@ -597,7 +597,6 @@ struct ParamTraits<mozilla::WidgetQueryContentEvent>
|
|||
|
||||
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
||||
{
|
||||
aResult->mWasAsync = true;
|
||||
return ReadParam(aMsg, aIter,
|
||||
static_cast<mozilla::WidgetGUIEvent*>(aResult)) &&
|
||||
ReadParam(aMsg, aIter, &aResult->mSucceeded) &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче