Index: webkit/tools/test_shell/test_shell.h |
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h |
index fbe55411d460e9eb9064a3598049785530386057..f00d38a9515f78eeb5cb066ebd01c2e9beb102e9 100644 |
--- a/webkit/tools/test_shell/test_shell.h |
+++ b/webkit/tools/test_shell/test_shell.h |
@@ -234,7 +234,7 @@ public: |
static void SetAccelerated2dCanvasEnabled(bool enabled); |
static void SetAcceleratedCompositingEnabled(bool enabled); |
- WebPreferences* GetWebPreferences() { return web_prefs_; } |
+ static WebPreferences* GetWebPreferences(); |
// Some layout tests hardcode a file:///tmp/LayoutTests URL. We get around |
// this by substituting "tmp" with the path to the LayoutTests parent dir. |