Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE

This commit is contained in:
Mark Hammond
2012-12-21 15:30:02 +11:00
parent 8c79bd159e
commit 7a6ea0f95b
18 changed files with 31 additions and 203 deletions

View File

@@ -15,7 +15,6 @@
#include "nsXULAppAPI.h"
#include "RenderTrace.h"
#include "sampler.h"
#include "Hal.h"
#define PIXMAN_DONT_DEFINE_STDINT
#include "pixman.h"
@@ -1095,17 +1094,7 @@ BasicShadowLayerManager::BeginTransactionWithTarget(gfxContext* aTarget)
// don't signal a new transaction to ShadowLayerForwarder. Carry on adding
// to the previous transaction.
if (HasShadowManager()) {
ScreenOrientation orientation;
nsIntRect clientBounds;
if (TabChild* window = mWidget->GetOwningTabChild()) {
orientation = window->GetOrientation();
} else {
hal::ScreenConfiguration currentConfig;
hal::GetCurrentScreenConfiguration(&currentConfig);
orientation = currentConfig.orientation();
}
mWidget->GetClientBounds(clientBounds);
ShadowLayerForwarder::BeginTransaction(mTargetBounds, mTargetRotation, clientBounds, orientation);
ShadowLayerForwarder::BeginTransaction(mTargetBounds, mTargetRotation);
// If we're drawing on behalf of a context with async pan/zoom
// enabled, then the entire buffer of thebes layers might be