Skip to content

Commit

Permalink
Fix viewport rectange issues for embedview test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Sep 24, 2014
1 parent 309859e commit a64f6f5
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -165,7 +165,9 @@ bool EmbedLiteCompositorParent::RenderToContext(gfx::DrawTarget* aTarget)
// Nothing to paint yet, just return silently
return false;
}
CompositeToTarget(aTarget);
IntSize size(aTarget->GetSize());
nsIntRect boundRect(0, 0, size.width, size.height);
CompositeToTarget(aTarget, &boundRect);
return true;
}

Expand Down

0 comments on commit a64f6f5

Please sign in to comment.