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 142391 a260551434fe50e44d061639f75a82726fc49d08
parent 142390 47a188160811d46a8d6d80d32e534200b3f4b318
child 142392 3ea8287825682040bdc96aeeabb35386400782b6
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [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;
             }