OSDN Git Service

Merge "Fix 3366514, browser emulator no longer crashes" into honeycomb
authorRussell Brenner <russellbrenner@google.com>
Tue, 1 Feb 2011 01:41:52 +0000 (17:41 -0800)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 1 Feb 2011 01:41:52 +0000 (17:41 -0800)
WebCore/platform/graphics/android/BaseLayerAndroid.cpp

index d7ea5e6..2446cb1 100644 (file)
@@ -36,7 +36,9 @@
 #include <wtf/CurrentTime.h>
 #endif // USE(ACCELERATED_COMPOSITING)
 
+#if TARGET_DEVICE != generic   /* Not supported in emulator */
 #define HARDWARE_ACCELERATION
+#endif
 
 #ifdef DEBUG