commit | a9f3bfea51cbea0c5640a083ee4411565f33bd76 | [log] [tgz] |
---|---|---|
author | Manish Jethani <m.jethani@eyeo.com> | Mon Feb 19 14:42:47 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 19 14:42:47 2018 |
tree | 2205a0515640598034c79062382e18ecb4999267 | |
parent | cc4adb3c9c20c1b98bed7384d39fdce8b404324f [diff] |
Use std::find_if to find style sheet by key Instead of a for loop we use std::find_if with a lambda, which makes the code easier to follow. BUG=608854 Change-Id: Ib08efabfb8d0d21da4d3397b4fb27406fe096dc1 Reviewed-on: https://chromium-review.googlesource.com/923348 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Manish Jethani <m.jethani@eyeo.com> Cr-Commit-Position: refs/heads/master@{#537649}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .