Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Issue 21038006: cc: Prevent vector finds that are not needed. (Closed)

Created:
7 years, 4 months ago by danakj
Modified:
7 years, 4 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, brianderson_google, piman
Visibility:
Public.

Description

cc: Prevent vector finds that are not needed. The caller knows if it was in the vector of layers with copy requests already or not, since it knows if it had copy requests already or not. So have the LayerImpl only add itself to the list if it's not in the list. [email protected] BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214442

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M cc/layers/layer_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
danakj
7 years, 4 months ago (2013-07-30 18:00:34 UTC) #1
enne (OOO)
lgtm
7 years, 4 months ago (2013-07-30 18:29:04 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/21038006/1
7 years, 4 months ago (2013-07-30 21:11:03 UTC) #3
danakj
7 years, 4 months ago (2013-07-30 22:27:06 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r214442 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698