Commit a3a894a1 authored by tfarina@chromium.org's avatar tfarina@chromium.org

Update Blink to include blink_test_environment.h

And call the new functions: SetUpBlinkTestEnvironment() and
TearDownBlinkTestEnvironment().

BUG=None
TEST=webkit_unit_tests
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/461443002

git-svn-id: svn://svn.chromium.org/blink/trunk@179977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 8cc606e3
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "public/platform/Platform.h" #include "public/platform/Platform.h"
#include "public/web/WebKit.h" #include "public/web/WebKit.h"
#include "web/tests/WebUnitTests.h" #include "web/tests/WebUnitTests.h"
#include <content/test/webkit_support.h> #include <content/test/blink_test_environment.h>
namespace { namespace {
...@@ -43,12 +43,12 @@ namespace { ...@@ -43,12 +43,12 @@ namespace {
// in a shared library build. See WebUnitTests.h for more details. // in a shared library build. See WebUnitTests.h for more details.
void preTestHook() void preTestHook()
{ {
content::SetUpTestEnvironmentForUnitTests(); content::SetUpBlinkTestEnvironment();
} }
void postTestHook() void postTestHook()
{ {
content::TearDownTestEnvironment(); content::TearDownBlinkTestEnvironment();
} }
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment