Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[embedlite] Cleanup log output from nsWindow
  • Loading branch information
rainemak committed May 5, 2020
1 parent 969274a commit 4d7b4a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions embedding/embedlite/embedshared/nsWindow.cpp
Expand Up @@ -60,8 +60,8 @@ nsWindow::nsWindow(EmbedLiteWindowBaseChild *window)
: PuppetWidgetBase()
, mWindow(window)
{
LOGT("nsWindow: %p window: %p", this, mWindow);
InitPrefs();
LOGT("nsWindow: %p window: %p external: %d early: %d", this, mWindow, sUseExternalGLContext, sRequestGLContextEarly);

if (sUseExternalGLContext && sRequestGLContextEarly) {
CompositorThreadHolder::Loop()->PostTask(NewRunnableFunction(&CreateGLContextEarly,
Expand Down Expand Up @@ -118,7 +118,6 @@ NS_IMETHODIMP
nsWindow::Show(bool aState)
{
LOGT();

return PuppetWidgetBase::Show(aState);
}

Expand Down Expand Up @@ -377,8 +376,8 @@ nsWindow::DispatchEvent(mozilla::WidgetGUIEvent *aEvent)
void
nsWindow::CreateGLContextEarly(uint32_t aWindowId)
{
LOGT("WindowID:%u", aWindowId);
EmbedLiteWindow* window = EmbedLiteApp::GetInstance()->GetWindowByID(aWindowId);
LOGT("WindowID :%u, window: %p", aWindowId, window);
if (window) {
void* context = nullptr;
void* surface = nullptr;
Expand Down

0 comments on commit 4d7b4a8

Please sign in to comment.