Fix non-Android bustage.
authorAli Juma <ajuma@mozilla.com>
Fri, 10 Feb 2012 17:32:12 -0500
changeset 92432 7fafa64fced9e0800ad643a1085900a19b13ab7b
parent 92431 731ab9e54b5e48f35d7da1af101e9e807214ef72
child 92433 8822397fc42db6f1d27022cdc809e2ae88f13f3c
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix non-Android bustage.
gfx/layers/ipc/CompositorParent.cpp
--- a/gfx/layers/ipc/CompositorParent.cpp
+++ b/gfx/layers/ipc/CompositorParent.cpp
@@ -169,17 +169,17 @@ CompositorParent::Composite()
 #ifdef MOZ_WIDGET_ANDROID
   RequestViewTransform();
   Layer* layer = GetPrimaryScrollableLayer();
   printf_stderr("Correcting for position fixed %i, %i\n", -mScrollOffset.x, -mScrollOffset.y);
   ViewTransform v(mScrollOffset, mXScale, mYScale);
   TransformShadowTree(layer, v);
 #else
   Layer* layer = mLayerManager->GetRoot();
-  layer->AsShadowLayer()->SetShadowTransform(worldTransform);
+  //layer->AsShadowLayer()->SetShadowTransform(worldTransform);
 #endif
 
 #if 0
 #ifdef MOZ_WIDGET_ANDROID
   // Hang the transform of the root layer off the layer manager.
   gfx3DMatrix transform = layer->GetTransform();
   transform *= worldTransform;
   TransformLayerUserData* transformUserData = new TransformLayerUserData(transform);