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

Issue 2131783002: Refactored an entry struct into separate storage. (Closed)

Created:
4 years, 5 months ago by ojars
Modified:
4 years, 4 months ago
Reviewers:
hush (inactive), boliu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, hush (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactored an entry struct into separate storage. Now synchronous input handler proxies and output surfaces corresponding to some routing_id will be stored in separate maps. Previously they were stored together in a struct. Committed: https://crrev.com/999676d872ff3cbcb0c1e225b049be11b8db2ee1 Cr-Commit-Position: refs/heads/master@{#406172}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Implemented suggestions from patch set 1. #

Total comments: 14

Patch Set 3 : Implemented suggestions from patch set 2 #

Total comments: 6

Patch Set 4 : Implemented suggestions from the previous patch. #

Patch Set 5 : Fixed a typo. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -70 lines) Patch
M content/renderer/android/synchronous_compositor_filter.h View 1 2 3 4 2 chunks +17 lines, -10 lines 1 comment Download
M content/renderer/android/synchronous_compositor_filter.cc View 1 2 3 4 5 chunks +50 lines, -60 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
ojars
4 years, 5 months ago (2016-07-08 00:46:50 UTC) #2
boliu
https://codereview.chromium.org/2131783002/diff/1/content/renderer/android/synchronous_compositor_filter.cc File content/renderer/android/synchronous_compositor_filter.cc (right): https://codereview.chromium.org/2131783002/diff/1/content/renderer/android/synchronous_compositor_filter.cc#newcode154 content/renderer/android/synchronous_compositor_filter.cc:154: RemoveEntryIfNeeded(routing_id); actually gonna change the behavior here a bit.. ...
4 years, 5 months ago (2016-07-08 16:13:38 UTC) #3
boliu
cc hush as well https://codereview.chromium.org/2131783002/diff/20001/content/renderer/android/synchronous_compositor_filter.cc File content/renderer/android/synchronous_compositor_filter.cc (right): https://codereview.chromium.org/2131783002/diff/20001/content/renderer/android/synchronous_compositor_filter.cc#newcode121 content/renderer/android/synchronous_compositor_filter.cc:121: if (entry_pair.second) { this should ...
4 years, 5 months ago (2016-07-11 15:58:49 UTC) #4
ojars
Implemented suggestions from patch set 2. https://codereview.chromium.org/2131783002/diff/20001/content/renderer/android/synchronous_compositor_filter.cc File content/renderer/android/synchronous_compositor_filter.cc (right): https://codereview.chromium.org/2131783002/diff/20001/content/renderer/android/synchronous_compositor_filter.cc#newcode121 content/renderer/android/synchronous_compositor_filter.cc:121: if (entry_pair.second) { ...
4 years, 5 months ago (2016-07-16 23:40:25 UTC) #5
boliu
https://codereview.chromium.org/2131783002/diff/40001/content/renderer/android/synchronous_compositor_filter.cc File content/renderer/android/synchronous_compositor_filter.cc (right): https://codereview.chromium.org/2131783002/diff/40001/content/renderer/android/synchronous_compositor_filter.cc#newcode140 content/renderer/android/synchronous_compositor_filter.cc:140: auto entry = output_surface_map_.find(routing_id); you can put this find ...
4 years, 5 months ago (2016-07-17 01:57:02 UTC) #6
ojars
Did the suggested changes. https://codereview.chromium.org/2131783002/diff/40001/content/renderer/android/synchronous_compositor_filter.cc File content/renderer/android/synchronous_compositor_filter.cc (right): https://codereview.chromium.org/2131783002/diff/40001/content/renderer/android/synchronous_compositor_filter.cc#newcode140 content/renderer/android/synchronous_compositor_filter.cc:140: auto entry = output_surface_map_.find(routing_id); On ...
4 years, 5 months ago (2016-07-18 23:30:54 UTC) #7
boliu
lgtm
4 years, 5 months ago (2016-07-18 23:32:23 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/2131783002/80001
4 years, 5 months ago (2016-07-18 23:40:02 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-19 01:53:00 UTC) #12
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/999676d872ff3cbcb0c1e225b049be11b8db2ee1 Cr-Commit-Position: refs/heads/master@{#406172}
4 years, 5 months ago (2016-07-19 01:55:45 UTC) #14
hush (inactive)
4 years, 4 months ago (2016-07-26 21:07:43 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/2131783002/diff/80001/content/renderer/androi...
File content/renderer/android/synchronous_compositor_filter.h (left):

https://codereview.chromium.org/2131783002/diff/80001/content/renderer/androi...
content/renderer/android/synchronous_compositor_filter.h:72: void
CheckIsReady(int routing_id);
Sorry for being late, but I think we can delete CheckIsReady here. It seems you
can declare a method in .h file, and never implement it in .cc file.

Powered by Google App Engine
This is Rietveld 408576698