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

Issue 11037099: First run detection fix (Closed)

Created:
July 11, 2013, 10:03 a.m. by Oleksandr
Modified:
July 20, 2013, 10:39 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

First run detection fix

Patch Set 1 #

Total comments: 3

Patch Set 2 : Cleaner version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M lib/init.js View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 4
Oleksandr
July 11, 2013, 10:04 a.m. (2013-07-11 10:04:32 UTC) #1
Wladimir Palant
Only the change to lib/init.js should be necessary - everything else seems to be debug ...
July 11, 2013, 11:36 a.m. (2013-07-11 11:36:21 UTC) #2
Oleksandr
http://codereview.adblockplus.org/11037099/diff/1/src/FilterEngine.cpp File src/FilterEngine.cpp (right): http://codereview.adblockplus.org/11037099/diff/1/src/FilterEngine.cpp#newcode167 src/FilterEngine.cpp:167: return temp; On 2013/07/11 11:36:21, Wladimir Palant wrote: > ...
July 11, 2013, 12:18 p.m. (2013-07-11 12:18:45 UTC) #3
Wladimir Palant
July 11, 2013, 12:56 p.m. (2013-07-11 12:56:20 UTC) #4
http://codereview.adblockplus.org/11037099/diff/1/src/FilterEngine.cpp
File src/FilterEngine.cpp (right):

http://codereview.adblockplus.org/11037099/diff/1/src/FilterEngine.cpp#newcod...
src/FilterEngine.cpp:167: return temp;
I see. I actually suggested in the other review that this logic should be
implemented in the adblockplusie engine - calling IsFirstRun() in the engine
shouldn't cause unexpected side-effects. And it isn't given that all
applications only want to query IsFirstRun() once.

Powered by Google App Engine
This is Rietveld