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 131426 a260551434fe50e44d061639f75a82726fc49d08
parent 131425 47a188160811d46a8d6d80d32e534200b3f4b318
child 131427 3ea8287825682040bdc96aeeabb35386400782b6
push id27848
push usermwoodrow@mozilla.com
push dateThu, 09 May 2013 21:03:21 +0000
treeherdermozilla-inbound@3dcf16f8f334 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs868181
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
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;
             }