diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 16:01:24 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 16:01:24 +0000 |
commit | 40438e9595803e02eea730680dc066d13c36d4fc (patch) | |
tree | e32a105ce053888b8101733b2d8acf14050d45ed /webkit/tools/test_shell/test_shell_mac.mm | |
parent | 19d369fefb8c519df8572f0b1485b3790a3b15f7 (diff) | |
download | chromium_src-40438e9595803e02eea730680dc066d13c36d4fc.zip chromium_src-40438e9595803e02eea730680dc066d13c36d4fc.tar.gz chromium_src-40438e9595803e02eea730680dc066d13c36d4fc.tar.bz2 |
make sure svg gets loaded into the correctly sized window
Review URL: http://codereview.chromium.org/10751
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_mac.mm')
-rw-r--r-- | webkit/tools/test_shell/test_shell_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell_mac.mm b/webkit/tools/test_shell/test_shell_mac.mm index 31677d2..8549673 100644 --- a/webkit/tools/test_shell/test_shell_mac.mm +++ b/webkit/tools/test_shell/test_shell_mac.mm @@ -558,12 +558,12 @@ void TestShell::LoadURLForFrame(const wchar_t* url, std::string url8 = WideToUTF8(url); - bool bIsSVGTest = strstr(url8.c_str(), "W3C-SVG-1.1") != NULL; + bool bIsSVGTest = strstr(url8.c_str(), "W3C-SVG-1.1") > 0; if (bIsSVGTest) { SizeTo(kSVGTestWindowWidth, kSVGTestWindowHeight); } else { - // SizeToDefault(); + SizeToDefault(); } std::string urlString(url8); |