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

Issue 2930273002: Use ContainsValue() instead of std::find() in ui/accessibility, ui/gl and ui/ozone (Closed)

Created:
3 years, 6 months ago by Tripta
Modified:
3 years, 6 months ago
CC:
chromium-reviews, ozone-reviews_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, piman+watch_chromium.org, kalyank
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ContainsValue() instead of std::find() in ui/accessibility, ui/gl and ui/ozone BUG=561800 Review-Url: https://codereview.chromium.org/2930273002 Cr-Commit-Position: refs/heads/master@{#479307} Committed: https://chromium.googlesource.com/chromium/src/+/3f97e999cf8835100a368e51b754d40e6863d497

Patch Set 1 #

Total comments: 4

Patch Set 2 : Used ASSERT_FALSE and ASSERT_TRUE. #

Patch Set 3 : Rebase patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -39 lines) Patch
M ui/accessibility/ax_position.h View 3 chunks +5 lines, -9 lines 0 comments Download
M ui/accessibility/ax_tree_unittest.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M ui/gl/gl_implementation.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M ui/gl/test/egl_initialization_displays_unittest.cc View 9 chunks +10 lines, -18 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
Tripta
3 years, 6 months ago (2017-06-12 07:10:11 UTC) #4
Tripta
Hi Sadrul, Please review following files: ui/accessibility/ax_position.h ui/accessibility/ax_tree_unittest.cc ui/gl/gl_implementation.cc ui/gl/test/egl_initialization_displays_unittest.cc ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc Regards Tripta
3 years, 6 months ago (2017-06-12 07:11:00 UTC) #5
sadrul
Some nits. lgtm with those addressed. https://codereview.chromium.org/2930273002/diff/1/ui/accessibility/ax_tree_unittest.cc File ui/accessibility/ax_tree_unittest.cc (right): https://codereview.chromium.org/2930273002/diff/1/ui/accessibility/ax_tree_unittest.cc#newcode520 ui/accessibility/ax_tree_unittest.cc:520: ASSERT(!base::ContainsValue(node_reparented, 3)); Use ...
3 years, 6 months ago (2017-06-14 02:43:01 UTC) #7
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/2930273002/20001
3 years, 6 months ago (2017-06-14 03:48:56 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/231457) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-14 03:51:10 UTC) #14
a.suchit2
Please rebase the patch.
3 years, 6 months ago (2017-06-14 04:42:25 UTC) #16
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/2930273002/40001
3 years, 6 months ago (2017-06-14 05:39:56 UTC) #21
Tripta
Have made the changes. Please check. Regards Tripta https://codereview.chromium.org/2930273002/diff/1/ui/accessibility/ax_tree_unittest.cc File ui/accessibility/ax_tree_unittest.cc (right): https://codereview.chromium.org/2930273002/diff/1/ui/accessibility/ax_tree_unittest.cc#newcode520 ui/accessibility/ax_tree_unittest.cc:520: ASSERT(!base::ContainsValue(node_reparented, ...
3 years, 6 months ago (2017-06-14 05:46:17 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 06:51:30 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3f97e999cf8835100a368e51b754...

Powered by Google App Engine
This is Rietveld 408576698