Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1130)

Unified Diff: test/cctest/test-api.cc

Issue 2205203002: Change an output parameter of Maybe<T>::To() from a reference to a pointer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 1cebdf0bf276a1c6f2c78ae4826f1579b37c386a..7fa4b04a81d144ec9b60e1280ab41fb1a1f62c6b 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -335,7 +335,7 @@ THREADED_TEST(Access) {
CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).ToChecked());
bool result;
- CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).To(result));
+ CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).To(&result));
CHECK(result);
}
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698