diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-21 00:41:29 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-21 00:41:29 +0000 |
commit | d54ce3203dbce1a43e810267d7372e8611a2b627 (patch) | |
tree | 88e087ea6160c183cc2db42e187cdb0d95d3965a /webkit/support/platform_support.h | |
parent | d223979d4ccce849a7ffeb0dc93baf60d3b00019 (diff) | |
download | chromium_src-d54ce3203dbce1a43e810267d7372e8611a2b627.zip chromium_src-d54ce3203dbce1a43e810267d7372e8611a2b627.tar.gz chromium_src-d54ce3203dbce1a43e810267d7372e8611a2b627.tar.bz2 |
Disabling DRT related initializations in unit-test mode.
WebKit unit-tests using webkit_support fail with these initializations as the test executable doesn't have any packages.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/3148024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/platform_support.h')
-rw-r--r-- | webkit/support/platform_support.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/support/platform_support.h b/webkit/support/platform_support.h index 73ab950..eb80e82 100644 --- a/webkit/support/platform_support.h +++ b/webkit/support/platform_support.h @@ -7,10 +7,10 @@ namespace webkit_support { // Called before WebKit::initialize(). -void BeforeInitialize(); +void BeforeInitialize(bool unit_test_mode); // Called after WebKit::initialize(). -void AfterInitialize(); +void AfterInitialize(bool unit_test_mode); // Called before WebKit::shutdown(). void BeforeShutdown(); |