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

Issue 603903002: For loop is running un-nacessrily after match. (Closed)

Created:
6 years, 2 months ago by Deepak
Modified:
6 years, 2 months ago
Reviewers:
raymes, jam, gene
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

For loop is running un-nacessrily after match. loop should break after match as values are getting reset to empty rect after match.Changes done so that loop breaks after match. BUG=417621 Committed: https://crrev.com/0c4d9f76e8e10ac411f3c1ffcf7beaafc12746d2 Cr-Commit-Position: refs/heads/master@{#297138}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M pdf/pdfium/pdfium_engine.cc View 1 chunk +3 lines, -1 line 4 comments Download

Messages

Total messages: 15 (4 generated)
Deepak
PTAL
6 years, 2 months ago (2014-09-25 09:41:18 UTC) #2
Deepak
PTAL
6 years, 2 months ago (2014-09-25 09:42:26 UTC) #4
raymes
I don't think this optimization gives correct results. https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc#newcode2729 pdf/pdfium/pdfium_engine.cc:2729: break; ...
6 years, 2 months ago (2014-09-29 01:09:52 UTC) #6
Deepak
On 2014/09/29 01:09:52, raymes wrote: > I don't think this optimization gives correct results. > ...
6 years, 2 months ago (2014-09-29 02:41:16 UTC) #7
Deepak
PTAL https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc#newcode2729 pdf/pdfium/pdfium_engine.cc:2729: break; On 2014/09/29 01:09:51, raymes wrote: > I ...
6 years, 2 months ago (2014-09-29 02:41:28 UTC) #8
raymes
https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc#newcode2729 pdf/pdfium/pdfium_engine.cc:2729: break; Oh I see! Is it ever possible for ...
6 years, 2 months ago (2014-09-29 03:08:16 UTC) #9
Deepak
PTAL https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc#newcode2729 pdf/pdfium/pdfium_engine.cc:2729: break; On 2014/09/29 03:08:16, raymes wrote: > Oh ...
6 years, 2 months ago (2014-09-29 03:19:52 UTC) #10
raymes
On 2014/09/29 03:19:52, Deepak wrote: > PTAL > > https://codereview.chromium.org/603903002/diff/1/pdf/pdfium/pdfium_engine.cc > File pdf/pdfium/pdfium_engine.cc (right): > ...
6 years, 2 months ago (2014-09-29 03:21:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/603903002/1
6 years, 2 months ago (2014-09-29 04:03:54 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1) as fd61c7a0c2bccf12067eb60bcf41d585752f6c17
6 years, 2 months ago (2014-09-29 04:38:48 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-09-29 04:39:36 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0c4d9f76e8e10ac411f3c1ffcf7beaafc12746d2
Cr-Commit-Position: refs/heads/master@{#297138}

Powered by Google App Engine
This is Rietveld 408576698