Bug 1469716 update expose event rectangle log message r=mattwoodrow

for change in rectangle output from
https://hg.mozilla.org/mozilla-central/rev/f5120348a27f02067b4ea070bc429fe5377686f6#l22.166

Depends on D53387

Differential Revision: https://phabricator.services.mozilla.com/D53388

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Karl Tomlinson 2019-11-20 23:23:47 +00:00
Родитель 858d1413ad
Коммит 5af6af429c
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -2213,6 +2213,8 @@ gboolean nsWindow::OnExposeEvent(cairo_t* cr) {
nsIWidgetListener* listener = GetListener();
if (!listener) return FALSE;
LOGDRAW(("received expose event [%p] %p 0x%lx (rects follow):\n", this,
mGdkWindow, mIsX11Display ? gdk_x11_window_get_xid(mGdkWindow) : 0));
LayoutDeviceIntRegion exposeRegion;
if (!ExtractExposeRegion(exposeRegion, cr)) {
return FALSE;
@ -2252,10 +2254,6 @@ gboolean nsWindow::OnExposeEvent(cairo_t* cr) {
GetLayerManager()->SetNeedsComposite(false);
}
LOGDRAW(("sending expose event [%p] %p 0x%lx (rects follow):\n", (void*)this,
(void*)mGdkWindow,
mIsX11Display ? gdk_x11_window_get_xid(mGdkWindow) : 0));
// Our bounds may have changed after calling WillPaintWindow. Clip
// to the new bounds here. The region is relative to this
// window.