Bug 685084 - Remove unused variable 'lm' in mozilla::widget::PuppetWidget::DispatchPaintEvent(); r=roc
authorEd Morley <bmo@edmorley.co.uk>
Sat, 17 Sep 2011 10:22:09 +0100
changeset 78426 13d1f83e452a7fbc986f97af65857e26517fa1c4
parent 78425 87ce16809ea04684ea9a8302f7755c55af450fd3
child 78427 0b31c67e1423b8e1fff2d3956e0cad6a38204cf0
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs685084
milestone9.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 685084 - Remove unused variable 'lm' in mozilla::widget::PuppetWidget::DispatchPaintEvent(); r=roc
widget/src/xpwidgets/PuppetWidget.cpp
--- a/widget/src/xpwidgets/PuppetWidget.cpp
+++ b/widget/src/xpwidgets/PuppetWidget.cpp
@@ -553,17 +553,16 @@ PuppetWidget::DispatchPaintEvent()
 
   nsEventStatus status;
   {
 #ifdef DEBUG
     debug_DumpPaintEvent(stderr, this, &event,
                          nsCAutoString("PuppetWidget"), nsnull);
 #endif
 
-    LayerManager* lm = GetLayerManager();
     if (LayerManager::LAYERS_D3D10 == mLayerManager->GetBackendType()) {
       DispatchEvent(&event, status);
     } else {
       nsRefPtr<gfxContext> ctx = new gfxContext(mSurface);
       AutoLayerManagerSetup setupLayerManager(this, ctx,
                                               BasicLayerManager::BUFFER_NONE);
       DispatchEvent(&event, status);  
     }