Bug 895274 part.155 Rename NS_QUERY_EDITOR_RECT to eQueryEditorRect r=smaug
This commit is contained in:
@@ -251,7 +251,7 @@ ContentCacheInChild::CacheEditorRect(nsIWidget* aWidget,
|
||||
this, aWidget, GetNotificationName(aNotification)));
|
||||
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetQueryContentEvent editorRectEvent(true, NS_QUERY_EDITOR_RECT, aWidget);
|
||||
WidgetQueryContentEvent editorRectEvent(true, eQueryEditorRect, aWidget);
|
||||
aWidget->DispatchEvent(&editorRectEvent, status);
|
||||
if (NS_WARN_IF(!editorRectEvent.mSucceeded)) {
|
||||
MOZ_LOG(sContentCacheLog, LogLevel::Error,
|
||||
@@ -665,10 +665,10 @@ ContentCacheInParent::HandleQueryContentEvent(WidgetQueryContentEvent& aEvent,
|
||||
"Succeeded, aEvent={ mReply={ mOffset=%u, mRect=%s } }",
|
||||
this, aEvent.mReply.mOffset, GetRectText(aEvent.mReply.mRect).get()));
|
||||
break;
|
||||
case NS_QUERY_EDITOR_RECT:
|
||||
case eQueryEditorRect:
|
||||
MOZ_LOG(sContentCacheLog, LogLevel::Info,
|
||||
("ContentCacheInParent: 0x%p HandleQueryContentEvent("
|
||||
"aEvent={ mMessage=NS_QUERY_EDITOR_RECT }, aWidget=0x%p)",
|
||||
"aEvent={ mMessage=eQueryEditorRect }, aWidget=0x%p)",
|
||||
this, aWidget));
|
||||
aEvent.mReply.mRect = mEditorRect;
|
||||
MOZ_LOG(sContentCacheLog, LogLevel::Info,
|
||||
|
||||
Reference in New Issue
Block a user