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

Issue 29523679: Issue 5556 - use JsEngine& instead of JsEnginePtr because JsEnginePtr is not available anymore (Closed)

Created:
Aug. 22, 2017, 2:37 p.m. by sergei
Modified:
Aug. 25, 2017, 7:33 a.m.
Reviewers:
diegocarloslima, anton, jens
CC:
René Jeschke, Felix Dahlke
Base URL:
github.com:abby-sergz/libadblockplus-android.git
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : revert jsEngine<>engine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M libadblockplus-android/jni/JniJsEngine.cpp View 1 5 chunks +24 lines, -24 lines 0 comments Download

Messages

Total messages: 6
sergei
It's a small self-contained step in order to accomplish #5556.
Aug. 22, 2017, 2:40 p.m. (2017-08-22 14:40:19 UTC) #1
anton
https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp File libadblockplus-android/jni/JniJsEngine.cpp (right): https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp#newcode66 libadblockplus-android/jni/JniJsEngine.cpp:66: AdblockPlus::JsEngine& jsEngine = GetJsEngineRef(ptr); in code review https://codereview.adblockplus.org/29523682/ you ...
Aug. 23, 2017, 5:46 a.m. (2017-08-23 05:46:47 UTC) #2
sergei
https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp File libadblockplus-android/jni/JniJsEngine.cpp (right): https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp#newcode66 libadblockplus-android/jni/JniJsEngine.cpp:66: AdblockPlus::JsEngine& jsEngine = GetJsEngineRef(ptr); On 2017/08/23 05:46:47, anton wrote: ...
Aug. 23, 2017, 8:24 a.m. (2017-08-23 08:24:18 UTC) #3
anton
On 2017/08/23 08:24:18, sergei wrote: > https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp > File libadblockplus-android/jni/JniJsEngine.cpp (right): > > https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp#newcode66 > ...
Aug. 23, 2017, 8:43 a.m. (2017-08-23 08:43:26 UTC) #4
diegocarloslima
On 2017/08/23 08:43:26, anton wrote: > On 2017/08/23 08:24:18, sergei wrote: > > > https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-android/jni/JniJsEngine.cpp ...
Aug. 24, 2017, 11:45 a.m. (2017-08-24 11:45:45 UTC) #5
anton
Aug. 25, 2017, 5:53 a.m. (2017-08-25 05:53:16 UTC) #6
On 2017/08/23 08:43:26, anton wrote:
> On 2017/08/23 08:24:18, sergei wrote:
> >
>
https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-andr...
> > File libadblockplus-android/jni/JniJsEngine.cpp (right):
> > 
> >
>
https://codereview.adblockplus.org/29523679/diff/29523680/libadblockplus-andr...
> > libadblockplus-android/jni/JniJsEngine.cpp:66: AdblockPlus::JsEngine&
jsEngine
> =
> > GetJsEngineRef(ptr);
> > On 2017/08/23 05:46:47, anton wrote:
> > > in code review https://codereview.adblockplus.org/29523682/ you did not
> rename
> > > variable 'engine' to 'filterEngine' but here you did it.
> > > actually i don't see any [significant] reason as there are no other
engines
> > (eg.
> > > filter engine instance) in methods.
> > > 
> > > Let's have consistent code style and revert renaming here or rename vars
> > there.
> > 
> > Done.
> 
> LGTM

Pushed

Powered by Google App Engine
This is Rietveld