Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy
This commit is contained in:
@@ -1953,7 +1953,7 @@ nsWindow::ResetLayout()
|
||||
// Send a gecko size event to trigger reflow.
|
||||
RECT clientRc = {0};
|
||||
GetClientRect(mWnd, &clientRc);
|
||||
nsIntRect evRect(nsWindowGfx::ToIntRect(clientRc));
|
||||
nsIntRect evRect(WinUtils::ToIntRect(clientRc));
|
||||
OnResize(evRect);
|
||||
|
||||
// Invalidate and update
|
||||
|
||||
Reference in New Issue
Block a user