Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/JsValue.cpp

Issue 29334678: Issue 3589 - Change return type of AdblockPlus::JsValue::Call from pointer to r-value object. (Closed)
Patch Set: Created Jan. 27, 2016, 11:17 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/FilterEngine.cpp ('K') | « src/Notification.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/JsValue.cpp
diff --git a/test/JsValue.cpp b/test/JsValue.cpp
index cbecfe0f7ce2c6d14646edafc50694de478609b9..ffc6a2165e52c79b1e431681fce4f36d6a2d2556 100644
--- a/test/JsValue.cpp
+++ b/test/JsValue.cpp
@@ -202,7 +202,7 @@ TEST_F(JsValueTest, FunctionValue)
AdblockPlus::JsValueList params;
params.push_back(jsEngine->NewValue(5));
params.push_back(jsEngine->NewValue("xyz"));
- ASSERT_EQ("2/5/xyz", value->Call(params, thisPtr)->AsString());
+ ASSERT_EQ("2/5/xyz", value->Call(params, thisPtr).AsString());
}
TEST_F(JsValueTest, ThrowingCoversion)
« src/FilterEngine.cpp ('K') | « src/Notification.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld