From 4a9257a2eef2314d7440ba62698a8af932db286b Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 14 Mar 2012 01:13:58 -0400 Subject: [PATCH] Fix build error for android-xul; goes with 8e11e5b9c935. r=bustage --- widget/android/AndroidBridge.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widget/android/AndroidBridge.cpp b/widget/android/AndroidBridge.cpp index 9263be120d6..eff6d9117eb 100644 --- a/widget/android/AndroidBridge.cpp +++ b/widget/android/AndroidBridge.cpp @@ -1852,7 +1852,9 @@ void AndroidBridge::SetCompositorParent(mozilla::layers::CompositorParent* aCompositorParent, ::base::Thread* aCompositorThread) { +#ifdef MOZ_JAVA_COMPOSITOR nsWindow::SetCompositorParent(aCompositorParent, aCompositorThread); +#endif } void