Allow debugger to be compiled without Ganesh
https://codereview.appspot.com/7311084/
git-svn-id: http://skia.googlecode.com/svn/trunk@7710 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/QT/SkSettingsWidget.h b/debugger/QT/SkSettingsWidget.h
index 73cd6e1..1a16ed2 100644
--- a/debugger/QT/SkSettingsWidget.h
+++ b/debugger/QT/SkSettingsWidget.h
@@ -39,9 +39,11 @@
QRadioButton* getVisibilityButton();
+#if SK_SUPPORT_GPU
QCheckBox* getGLCheckBox() {
return &fGLCheckBox;
}
+#endif
QCheckBox* getRasterCheckBox() {
return &fRasterCheckBox;
@@ -95,9 +97,11 @@
QLabel fOverdrawVizLabel;
QCheckBox fOverdrawVizCheckBox;
+#if SK_SUPPORT_GPU
QHBoxLayout fGLLayout;
QLabel fGLLabel;
QCheckBox fGLCheckBox;
+#endif
QFrame fZoomFrame;
QHBoxLayout fZoomLayout;