No bug, removed commented code, r=nical, DONTBUILD
authorNicholas Cameron <ncameron@mozilla.com>
Thu, 11 Apr 2013 14:33:44 +1200
changeset 128519 42babc8d9d827ea1f06b0e57dc3c35a6f7434682
parent 128518 ab0974ead0303984c4c05d75da102978bd6131dd
child 128520 058c640a3799b7c03839d98b713aea289be03941
push id26359
push userncameron@mozilla.com
push dateThu, 11 Apr 2013 23:36:02 +0000
treeherdermozilla-inbound@42babc8d9d82 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical, DONTBUILD
milestone23.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
No bug, removed commented code, r=nical, DONTBUILD
gfx/layers/ipc/CompositorParent.cpp
--- a/gfx/layers/ipc/CompositorParent.cpp
+++ b/gfx/layers/ipc/CompositorParent.cpp
@@ -1109,38 +1109,16 @@ CompositorParent::SyncViewportInfo(const
                                    gfx::Margin& aFixedLayerMargins)
 {
 #ifdef MOZ_WIDGET_ANDROID
   AndroidBridge::Bridge()->SyncViewportInfo(aDisplayPort, aDisplayResolution, aLayersUpdated,
                                             aScrollOffset, aScaleX, aScaleY, aFixedLayerMargins);
 #endif
 }
 
-/*
-void
-CompositorParent::ShadowLayersUpdated(ShadowLayersParent* aLayerTree,
-                                      const TargetConfig& aTargetConfig,
-                                      bool isFirstPaint)
-{
-  mTargetConfig = aTargetConfig;
-  mIsFirstPaint = mIsFirstPaint || isFirstPaint;
-  mLayersUpdated = true;
-  Layer* root = aLayerTree->GetRoot();
-  mLayerManager->SetRoot(root);
-  if (root) {
-    SetShadowProperties(root);
-  }
-  ScheduleComposition();
-  ShadowLayerManager *shadow = mLayerManager->AsShadowManager();
-  if (shadow) {
-    shadow->NotifyShadowTreeTransaction();
-  }
-}
-*/
-
 PLayersParent*
 CompositorParent::AllocPLayers(const LayersBackend& aBackendHint,
                                const uint64_t& aId,
                                TextureFactoryIdentifier* aTextureFactoryIdentifier)
 {
   MOZ_ASSERT(aId == 0);
 
   // mWidget doesn't belong to the compositor thread, so it should be set to