Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(614)

Issue 29813591: Issue 6526 - Use Maybe<> version of soon to be deprecated API in v8 6.7 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 months, 4 weeks ago by hub
Modified:
1 month, 1 week ago
Reviewers:
sergei
Base URL:
https://hg.adblockplus.org/libadblockplus/
Visibility:
Public.

Description

Issue 6526 - Use Maybe<> version of soon to be deprecated API in v8 6.7

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Total comments: 2

Patch Set 3 : Throw on empty value (AsInt() and As Bool()) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -15 lines) Patch
M src/JsEngine.cpp View 1 2 chunks +11 lines, -7 lines 0 comments Download
M src/JsValue.cpp View 1 2 2 chunks +15 lines, -5 lines 1 comment Download
M src/Utils.h View 1 2 chunks +17 lines, -1 line 0 comments Download
M test/JsValue.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6
hub
2 months, 4 weeks ago (2018-06-22 20:54:43 UTC) #1
hub
This is the last bits. On top of the previous patch https://codereview.adblockplus.org/29812649/ There are 3 ...
2 months, 4 weeks ago (2018-06-22 20:55:48 UTC) #2
hub
https://codereview.adblockplus.org/29813591/diff/29813592/src/JsValue.cpp File src/JsValue.cpp (right): https://codereview.adblockplus.org/29813591/diff/29813592/src/JsValue.cpp#newcode141 src/JsValue.cpp:141: return value.IsJust() ? value.FromJust() : 0; The test expect ...
2 months, 4 weeks ago (2018-06-22 21:32:39 UTC) #3
sergei
https://codereview.adblockplus.org/29813591/diff/29813592/test/JsValue.cpp File test/JsValue.cpp (right): https://codereview.adblockplus.org/29813591/diff/29813592/test/JsValue.cpp#newcode214 test/JsValue.cpp:214: TEST_F(JsValueTest, ThrowingConversion) It's unrelated but OK. https://codereview.adblockplus.org/29813591/diff/29848562/src/JsValue.cpp File src/JsValue.cpp ...
1 month, 1 week ago (2018-08-07 13:14:52 UTC) #4
hub
https://codereview.adblockplus.org/29813591/diff/29848562/src/JsValue.cpp File src/JsValue.cpp (right): https://codereview.adblockplus.org/29813591/diff/29848562/src/JsValue.cpp#newcode141 src/JsValue.cpp:141: return value.IsJust() ? value.FromJust() : 0; On 2018/08/07 13:14:52, ...
1 month, 1 week ago (2018-08-07 14:36:48 UTC) #5
sergei
1 month, 1 week ago (2018-08-07 16:47:35 UTC) #6
LGTM

https://codereview.adblockplus.org/29813591/diff/29849570/src/JsValue.cpp
File src/JsValue.cpp (right):

https://codereview.adblockplus.org/29813591/diff/29849570/src/JsValue.cpp#new...
src/JsValue.cpp:141: return CHECKED_TO_VALUE(std::move(value));
I find the usage of std::move good here too, for the sake of readability.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 87257f5