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 (sEnabledTextStore) {
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
textStore->SetInputScope(aContext.mHTMLInputType,
|
||||
aContext.mHTMLInputInputmode);
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
if (!sEnabledTextStore) {
|
||||
return;
|
||||
}
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
textStore->CommitCompositionInternal(aDiscard);
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ public:
|
||||
if (!sEnabledTextStore) {
|
||||
return NS_OK;
|
||||
}
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
return textStore->OnTextChangeInternal(aIMENotification);
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ public:
|
||||
if (!sEnabledTextStore) {
|
||||
return NS_OK;
|
||||
}
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
return textStore->OnSelectionChangeInternal(aIMENotification);
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ public:
|
||||
if (!sEnabledTextStore) {
|
||||
return NS_OK;
|
||||
}
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
return textStore->OnLayoutChangeInternal();
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ public:
|
||||
if (!sEnabledTextStore) {
|
||||
return NS_OK;
|
||||
}
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
return textStore->OnUpdateCompositionInternal();
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ public:
|
||||
if (!sEnabledTextStore) {
|
||||
return NS_OK;
|
||||
}
|
||||
RefPtr<TSFTextStore> textStore = sEnabledTextStore;
|
||||
RefPtr<TSFTextStore> textStore(sEnabledTextStore);
|
||||
return textStore->OnMouseButtonEventInternal(aIMENotification);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user