Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: webkit/tools/test_shell/test_shell_test.cc

Issue 1705: Bring test shell test into the mac project (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/test_shell/mac/TestShell.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell_test.cc
===================================================================
--- webkit/tools/test_shell/test_shell_test.cc (revision 1985)
+++ webkit/tools/test_shell/test_shell_test.cc (working copy)
@@ -4,6 +4,7 @@
#include "webkit/tools/test_shell/test_shell_test.h"
+#include "base/basictypes.h"
#include "base/file_util.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -17,7 +18,9 @@
void TestShellTest::SetUp() {
// Make a test shell for use by the test.
+#if defined(OS_WIN)
TestShell::RegisterWindowClass();
+#endif
CreateEmptyWindow();
test_shell_->Show(test_shell_->webView(), NEW_WINDOW);
@@ -31,7 +34,7 @@
void TestShellTest::TearDown() {
// Loading a blank url clears the memory in the current page.
test_shell_->LoadURL(L"about:blank");
- DestroyWindow(test_shell_->mainWnd());
+ test_shell_->DestroyWindow(test_shell_->mainWnd());
LayoutTestController::ClearShell();
// Flush the MessageLoop of any residual tasks.
« no previous file with comments | « webkit/tools/test_shell/mac/TestShell.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698