diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm')
-rw-r--r-- | Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm b/Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm index 4e3e3ec75..260a5a53e 100644 --- a/Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm +++ b/Tools/TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm @@ -32,7 +32,7 @@ namespace TestWebKitAPI { TEST(WebKit1, StringByEvaluatingJavaScriptFromString) { // maps expected result <= JavaScript expression - RetainPtr<NSDictionary> expressions(AdoptNS, [[NSDictionary alloc] initWithObjectsAndKeys: + RetainPtr<NSDictionary> expressions = adoptNS([[NSDictionary alloc] initWithObjectsAndKeys: @"0", @"0", @"0", @"'0'", @"", @"", @@ -53,7 +53,7 @@ TEST(WebKit1, StringByEvaluatingJavaScriptFromString) nil ]); - RetainPtr<WebView> webView (AdoptNS, [[WebView alloc] initWithFrame:NSZeroRect frameName:@"" groupName:@""]); + RetainPtr<WebView> webView = adoptNS([[WebView alloc] initWithFrame:NSZeroRect frameName:@"" groupName:@""]); // Test a nil string NSString *result = [webView.get() stringByEvaluatingJavaScriptFromString:nil]; |