Skip to content

Commit

Permalink
ComputeTileSize has been made private. Thus, do not use
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Dec 19, 2016
1 parent 47391db commit 68ad42c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -153,7 +153,7 @@ EmbedLiteAppProcessChild::AllocPEmbedLiteViewChild(const uint32_t& windowId, con
LOGT("id:%u, parentId:%u", id, parentId);
static bool sViewInitializeOnce = false;
if (!sViewInitializeOnce) {
gfxPlatform::GetPlatform()->ComputeTileSize();
gfxPlatform::GetPlatform();
sViewInitializeOnce = true;
}
EmbedLiteViewProcessChild* view = new EmbedLiteViewProcessChild(windowId, id, parentId, isPrivateWindow);
Expand Down
Expand Up @@ -77,7 +77,7 @@ EmbedLiteCompositorProcessParent::EmbedLiteCompositorProcessParent(Transport* aT
{
LOGT();
MOZ_ASSERT(NS_IsMainThread());
gfxPlatform::GetPlatform()->ComputeTileSize();
gfxPlatform::GetPlatform();
mCompositorID = 0;
}

Expand Down
2 changes: 1 addition & 1 deletion embedding/embedlite/embedshared/EmbedLitePuppetWidget.cpp
Expand Up @@ -223,7 +223,7 @@ EmbedLitePuppetWidget::Create(nsIWidget* aParent,
}

// XXX: Move to EmbedLiteWindow?
gfxPlatform::GetPlatform()->ComputeTileSize();
gfxPlatform::GetPlatform();

#if DEBUG
DumpWidgetTree();
Expand Down
2 changes: 1 addition & 1 deletion gfx/layers/ipc/CompositorChild.cpp
Expand Up @@ -141,7 +141,7 @@ CompositorChild::Create(Transport* aTransport, ProcessId aOtherPid)
sCompositor = child.forget().take();

if (XRE_GetProcessType() == GeckoProcessType_Default) {
gfxPlatform::GetPlatform()->ComputeTileSize();
gfxPlatform::GetPlatform();
return sCompositor;
}

Expand Down

0 comments on commit 68ad42c

Please sign in to comment.