diff options
author | jdduke <jdduke@chromium.org> | 2015-07-23 15:21:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-23 22:23:12 +0000 |
commit | 8e78caf21c2b6765f492a96b34d3172d119b37bb (patch) | |
tree | 1c0e5b11d76accb8a9f9a43c911274c49e923fb0 /mojo/environment/BUILD.gn | |
parent | 6172036d2c7275b949346e051d4cafad9f1b3e21 (diff) | |
download | chromium_src-8e78caf21c2b6765f492a96b34d3172d119b37bb.zip chromium_src-8e78caf21c2b6765f492a96b34d3172d119b37bb.tar.gz chromium_src-8e78caf21c2b6765f492a96b34d3172d119b37bb.tar.bz2 |
[Android] Cache document-mode command-line check
FeatureUtilities.isDocumentMode can be called relatively frequently.
Avoid the cost of the associated JNI command-line call and string
conversion by caching the result of the "--disable-document-mode"
query.
BUG=457748
Review URL: https://codereview.chromium.org/1255733002
Cr-Commit-Position: refs/heads/master@{#340185}
Diffstat (limited to 'mojo/environment/BUILD.gn')
0 files changed, 0 insertions, 0 deletions