Bug 1263653 - Fixed TSFTextStore.h compilation with mingw. r=masayuki
This commit is contained in:
@@ -5304,7 +5304,7 @@ TSFTextStore::SetInputContext(nsWindowBase* aWidget,
|
|||||||
|
|
||||||
if (aAction.mFocusChange != InputContextAction::FOCUS_NOT_CHANGED) {
|
if (aAction.mFocusChange != InputContextAction::FOCUS_NOT_CHANGED) {
|
||||||
if (sEnabledTextStore) {
|
if (sEnabledTextStore) {
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
textStore->SetInputScope(aContext.mHTMLInputType,
|
textStore->SetInputScope(aContext.mHTMLInputType,
|
||||||
aContext.mHTMLInputInputmode);
|
aContext.mHTMLInputInputmode);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ public:
|
|||||||
if (!sEnabledTextStore) {
|
if (!sEnabledTextStore) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
textStore->CommitCompositionInternal(aDiscard);
|
textStore->CommitCompositionInternal(aDiscard);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ public:
|
|||||||
if (!sEnabledTextStore) {
|
if (!sEnabledTextStore) {
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
return textStore->OnTextChangeInternal(aIMENotification);
|
return textStore->OnTextChangeInternal(aIMENotification);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,7 +146,7 @@ public:
|
|||||||
if (!sEnabledTextStore) {
|
if (!sEnabledTextStore) {
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
return textStore->OnSelectionChangeInternal(aIMENotification);
|
return textStore->OnSelectionChangeInternal(aIMENotification);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -156,7 +156,7 @@ public:
|
|||||||
if (!sEnabledTextStore) {
|
if (!sEnabledTextStore) {
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
return textStore->OnLayoutChangeInternal();
|
return textStore->OnLayoutChangeInternal();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ public:
|
|||||||
if (!sEnabledTextStore) {
|
if (!sEnabledTextStore) {
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
return textStore->OnUpdateCompositionInternal();
|
return textStore->OnUpdateCompositionInternal();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,7 +176,7 @@ public:
|
|||||||
if (!sEnabledTextStore) {
|
if (!sEnabledTextStore) {
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||||
return textStore->OnMouseButtonEventInternal(aIMENotification);
|
return textStore->OnMouseButtonEventInternal(aIMENotification);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user