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

Issue 2316823002: Maybe avoid a copy in CPDF_RenderStatus::SelectClipPath (Closed)

Created:
4 years, 3 months ago by Tom Sepez
Modified:
4 years, 3 months ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Maybe avoid a copy in CPDF_RenderStatus::SelectClipPath Use the shared copy-on-write version instead of the underlying CFX_GraphStateData since it may not always get modified. Committed: https://pdfium.googlesource.com/pdfium/+/85a65b310924eacbd2e720162cc7547153b03077

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M core/fpdfapi/fpdf_render/fpdf_render.cpp View 1 chunk +4 lines, -5 lines 2 comments Download

Messages

Total messages: 12 (7 generated)
Tom Sepez
Dan, for review.
4 years, 3 months ago (2016-09-06 22:37:13 UTC) #4
dsinclair
lgtm w/ question. https://codereview.chromium.org/2316823002/diff/1/core/fpdfapi/fpdf_render/fpdf_render.cpp File core/fpdfapi/fpdf_render/fpdf_render.cpp (right): https://codereview.chromium.org/2316823002/diff/1/core/fpdfapi/fpdf_render/fpdf_render.cpp#newcode660 core/fpdfapi/fpdf_render/fpdf_render.cpp:660: &path_matrix, graphState.GetObject()); Is this copy needed ...
4 years, 3 months ago (2016-09-07 12:55:40 UTC) #7
Tom Sepez
https://codereview.chromium.org/2316823002/diff/1/core/fpdfapi/fpdf_render/fpdf_render.cpp File core/fpdfapi/fpdf_render/fpdf_render.cpp (right): https://codereview.chromium.org/2316823002/diff/1/core/fpdfapi/fpdf_render/fpdf_render.cpp#newcode660 core/fpdfapi/fpdf_render/fpdf_render.cpp:660: &path_matrix, graphState.GetObject()); On 2016/09/07 12:55:40, dsinclair wrote: > Is ...
4 years, 3 months ago (2016-09-07 16:35:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2316823002/1
4 years, 3 months ago (2016-09-07 16:35:23 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 16:35:40 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/85a65b310924eacbd2e720162cc7547153b0...

Powered by Google App Engine
This is Rietveld 408576698