Skip to content

Commit

Permalink
Don't instantiate unneeded gfx::IntSize
Browse files Browse the repository at this point in the history
  • Loading branch information
rojkov committed Dec 15, 2014
1 parent f30b595 commit 25a92e7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -118,7 +118,7 @@ EmbedLiteCompositorParent::UpdateTransformState()
NS_ENSURE_TRUE(context, );

if (context->IsOffscreen() && context->OffscreenSize() != mLastViewSize) {
context->ResizeOffscreen(gfx::IntSize(mLastViewSize.width, mLastViewSize.height));
context->ResizeOffscreen(mLastViewSize);
ScheduleRenderOnCompositorThread();
}
}
Expand Down

0 comments on commit 25a92e7

Please sign in to comment.