--- a/widget/gtk/IMContextWrapper.cpp
+++ b/widget/gtk/IMContextWrapper.cpp
@@ -2268,53 +2268,53 @@ IMContextWrapper::EnsureToCacheSelection
if (mSelection.IsValid() &&
(!mSelection.Collapsed() || !aSelectedString)) {
return true;
}
if (NS_WARN_IF(!mLastFocusedWindow)) {
MOZ_LOG(gGtkIMLog, LogLevel::Error,
- ("%p EnsureToCacheSelection(), FAILED, due to "
- "no focused window",
- this));
+ ("%p EnsureToCacheSelection(), FAILED, due to "
+ "no focused window",
+ this));
return false;
}
nsEventStatus status;
WidgetQueryContentEvent selection(true, eQuerySelectedText,
mLastFocusedWindow);
InitEvent(selection);
mLastFocusedWindow->DispatchEvent(&selection, status);
if (NS_WARN_IF(!selection.mSucceeded)) {
MOZ_LOG(gGtkIMLog, LogLevel::Error,
- ("%p EnsureToCacheSelection(), FAILED, due to "
- "failure of query selection event",
- this));
+ ("%p EnsureToCacheSelection(), FAILED, due to "
+ "failure of query selection event",
+ this));
return false;
}
mSelection.Assign(selection);
if (!mSelection.IsValid()) {
MOZ_LOG(gGtkIMLog, LogLevel::Error,
- ("%p EnsureToCacheSelection(), FAILED, due to "
- "failure of query selection event (invalid result)",
- this));
+ ("%p EnsureToCacheSelection(), FAILED, due to "
+ "failure of query selection event (invalid result)",
+ this));
return false;
}
if (!mSelection.Collapsed() && aSelectedString) {
aSelectedString->Assign(selection.mReply.mString);
}
MOZ_LOG(gGtkIMLog, LogLevel::Debug,
- ("%p EnsureToCacheSelection(), Succeeded, mSelection="
- "{ mOffset=%u, mLength=%u, mWritingMode=%s }",
- this, mSelection.mOffset, mSelection.mLength,
- GetWritingModeName(mSelection.mWritingMode).get()));
+ ("%p EnsureToCacheSelection(), Succeeded, mSelection="
+ "{ mOffset=%u, mLength=%u, mWritingMode=%s }",
+ this, mSelection.mOffset, mSelection.mLength,
+ GetWritingModeName(mSelection.mWritingMode).get()));
return true;
}
/******************************************************************************
* IMContextWrapper::Selection
******************************************************************************/
void