Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug

This commit is contained in:
Masayuki Nakano
2015-09-11 21:21:27 +09:00
parent b87dc53d61
commit 799e278160
22 changed files with 46 additions and 46 deletions

View File

@@ -33,8 +33,8 @@ GetEventMessageName(EventMessage aMessage)
return "eCompositionEnd";
case eCompositionUpdate:
return "eCompositionUpdate";
case NS_COMPOSITION_CHANGE:
return "NS_COMPOSITION_CHANGE";
case eCompositionChange:
return "eCompositionChange";
case eCompositionCommitAsIs:
return "eCompositionCommitAsIs";
case NS_COMPOSITION_COMMIT:
@@ -875,7 +875,7 @@ ContentCacheInParent::OnCompositionEvent(const WidgetCompositionEvent& aEvent)
// TextComposition must handle following events correctly!
// During REQUEST_TO_COMMIT_COMPOSITION or REQUEST_TO_CANCEL_COMPOSITION,
// widget usually sends a NS_COMPOSITION_CHANGE event to finalize or
// widget usually sends a eCompositionChange event to finalize or
// clear the composition, respectively.
// Because the event will not reach content in time, we intercept it
// here and pass the text as the DidRequestToCommitOrCancelComposition()