Bug 868181 - Correctly handle ClientLayerManager in android's nsWindow. r=roc
authorMatt Woodrow <mwoodrow@mozilla.com>
Fri, 10 May 2013 09:02:50 +1200
changeset 138219 a260551434fe50e44d061639f75a82726fc49d08
parent 138218 47a188160811d46a8d6d80d32e534200b3f4b318
child 138220 3ea8287825682040bdc96aeeabb35386400782b6
push id3752
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 17:21:10 +0000
treeherdermozilla-aurora@1580544aef0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs868181
milestone23.0a1
Bug 868181 - Correctly handle ClientLayerManager in android's nsWindow. r=roc
widget/android/nsWindow.cpp
--- a/widget/android/nsWindow.cpp
+++ b/widget/android/nsWindow.cpp
@@ -981,16 +981,21 @@ nsWindow::DrawTo(gfxASurface *targetSurf
                     AutoLayerManagerSetup
                       setupLayerManager(this, ctx, mozilla::layers::BUFFER_NONE);
 
                     mWidgetListener->PaintWindow(this, region, 0);
                 }
                 break;
             }
 
+            case mozilla::layers::LAYERS_CLIENT: {
+                mWidgetListener->PaintWindow(this, region, 0);
+                break;
+            }
+
             case mozilla::layers::LAYERS_OPENGL: {
 
                 static_cast<mozilla::layers::LayerManagerOGL*>(GetLayerManager(nullptr))->
                     SetClippingRegion(nsIntRegion(boundsRect));
 
                 mWidgetListener->PaintWindow(this, region, 0);
                 break;
             }