summaryrefslogtreecommitdiff
path: root/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/WebKitTestRunner/efl/TestControllerEfl.cpp')
-rw-r--r--Tools/WebKitTestRunner/efl/TestControllerEfl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp b/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp
index a184f6df4..f68351d7b 100644
--- a/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp
+++ b/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp
@@ -85,13 +85,13 @@ static const char* getEnvironmentVariableOrExit(const char* variableName)
void TestController::initializeInjectedBundlePath()
{
const char* bundlePath = getEnvironmentVariableOrExit("TEST_RUNNER_INJECTED_BUNDLE_FILENAME");
- m_injectedBundlePath = WKStringCreateWithUTF8CString(bundlePath);
+ m_injectedBundlePath.adopt(WKStringCreateWithUTF8CString(bundlePath));
}
void TestController::initializeTestPluginDirectory()
{
const char* pluginPath = getEnvironmentVariableOrExit("TEST_RUNNER_PLUGIN_PATH");
- m_testPluginDirectory = WKStringCreateWithUTF8CString(pluginPath);
+ m_testPluginDirectory.adopt(WKStringCreateWithUTF8CString(pluginPath));
}
void TestController::platformInitializeContext()