diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 00:47:35 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 00:47:35 +0000 |
commit | 8a3065b9e2259968651c8e504f8d806a400baaab (patch) | |
tree | 24f7d2be376cae5a30f8a82db7393c77f7300fbc /webkit/tools/test_shell/gtk | |
parent | 96511590217c1b48326ac303624809ed78d67fed (diff) | |
download | chromium_src-8a3065b9e2259968651c8e504f8d806a400baaab.zip chromium_src-8a3065b9e2259968651c8e504f8d806a400baaab.tar.gz chromium_src-8a3065b9e2259968651c8e504f8d806a400baaab.tar.bz2 |
linux link errors
Add a line to the gtk test_shell that can be uncommented to
get linker errors.
Review URL: http://codereview.chromium.org/7338
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/gtk')
-rw-r--r-- | webkit/tools/test_shell/gtk/test_shell.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/gtk/test_shell.cc b/webkit/tools/test_shell/gtk/test_shell.cc index c441635..13e8c1a 100644 --- a/webkit/tools/test_shell/gtk/test_shell.cc +++ b/webkit/tools/test_shell/gtk/test_shell.cc @@ -7,11 +7,17 @@ #include <gtk/gtk.h> #include "base/string_util.h" +#include "webkit/glue/webpreferences.h" #include "webkit/tools/test_shell/test_navigation_controller.h" +WebPreferences* TestShell::web_prefs_ = NULL; + WindowList* TestShell::window_list_; TestShell::TestShell() { + // Uncomment this line to get a bunch of linker errors. This is what we need + // to fix. + //m_webViewHost.reset(WebViewHost::Create(NULL, NULL, *TestShell::web_prefs_)); } TestShell::~TestShell() { @@ -20,6 +26,8 @@ TestShell::~TestShell() { // static void TestShell::InitializeTestShell(bool interactive) { window_list_ = new WindowList; + + web_prefs_ = new WebPreferences; } // static |