From 72d34be06324624ee4dcf27b1f001ab573ddec06 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 12 Jan 2018 05:27:49 +0000 Subject: Fix "the the" typos. TBR=hnakashima@chromium.org Change-Id: I50877f5a2ff3fb6f48630019d2481aa451945118 Reviewed-on: https://pdfium-review.googlesource.com/22774 Reviewed-by: Lei Zhang Commit-Queue: Lei Zhang --- build_overrides/README.md | 2 +- core/fxcrt/string_view_template.h | 2 +- fxjs/README | 2 +- testing/tools/safetynet_compare.py | 22 +++++++++++----------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build_overrides/README.md b/build_overrides/README.md index cc0efbf407..69a38d4ab8 100644 --- a/build_overrides/README.md +++ b/build_overrides/README.md @@ -16,7 +16,7 @@ create its own build_overrides/v8.gni file, and in it set `build_standalone_d8 = false`. The two files should define the same set of variables, but the values may -vary as appropriate to suit the the needs of the two different builds. +vary as appropriate to suit the needs of the two different builds. The build.gni file provides a way for projects to override defaults for variables used in //build itself (which we want to be shareable between diff --git a/core/fxcrt/string_view_template.h b/core/fxcrt/string_view_template.h index cd3614b34f..1e436d3978 100644 --- a/core/fxcrt/string_view_template.h +++ b/core/fxcrt/string_view_template.h @@ -50,7 +50,7 @@ class StringViewTemplate { : m_Ptr(ptr), m_Length(size) {} // Deliberately implicit to avoid calling on every string literal. - // |ch| must be an lvalue that outlives the the StringViewTemplate. + // |ch| must be an lvalue that outlives the StringViewTemplate. // NOLINTNEXTLINE(runtime/explicit) StringViewTemplate(CharType& ch) { m_Ptr = reinterpret_cast(&ch); diff --git a/fxjs/README b/fxjs/README index 99d2f90bd8..adc5827dbe 100644 --- a/fxjs/README +++ b/fxjs/README @@ -11,7 +11,7 @@ for progress on the issue. FXJS binds objects by sticking a pointer to a CFXJS_PerObjectData in the V8 object's internal slot. FXJSE binds objects by sticking a pointer to either an actual v8 function object or a CFXJSE_HostObject -in the the V8 object's internal slot, depending upon whether the object +in the V8 object's internal slot, depending upon whether the object represents (in some notion) a "class" or an "instance". Also, V8 objects bound in one library may unexpectedly arrive at the other given a script that's trying to mess with us. diff --git a/testing/tools/safetynet_compare.py b/testing/tools/safetynet_compare.py index ce0505f0a4..0cf1aec036 100755 --- a/testing/tools/safetynet_compare.py +++ b/testing/tools/safetynet_compare.py @@ -137,7 +137,7 @@ class CompareRun(object): Returns: A tuple (before, after), where each of before and after is a dict - mapping a test case name to the the profiling values for that test case + mapping a test case name to the profiling values for that test case in the given branch. """ branch_to_restore = self.git.GetCurrentBranchName() @@ -172,7 +172,7 @@ class CompareRun(object): Returns: A tuple (before, after), where each of before and after is a dict - mapping a test case name to the the profiling values for that test case + mapping a test case name to the profiling values for that test case in the given branch. """ after = self._ProfileSeparateRepo('after', @@ -196,7 +196,7 @@ class CompareRun(object): Returns: A tuple (before, after), where each of before and after is a dict - mapping a test case name to the the profiling values for that test case + mapping a test case name to the profiling values for that test case in the given branch. The current branch is considered to be "after" and the other branch is considered to be "before". """ @@ -230,7 +230,7 @@ class CompareRun(object): Returns: A tuple (before, after), where each of before and after is a dict - mapping a test case name to the the profiling values for that test case + mapping a test case name to the profiling values for that test case in the given branch. The current branch is considered to be "after" and the other branch is considered to be "before". """ @@ -251,7 +251,7 @@ class CompareRun(object): Returns: A tuple (before, after), where each of before and after is a dict - mapping a test case name to the the profiling values for that test case + mapping a test case name to the profiling values for that test case using the given version. The current branch without uncommitted changes is considered to be "before" and with uncommitted changes is considered to be "after". @@ -280,7 +280,7 @@ class CompareRun(object): Returns: A tuple (before, after), where each of before and after is a dict - mapping a test case name to the the profiling values for that test case + mapping a test case name to the profiling values for that test case using the given version. The current branch without uncommitted changes is considered to be "before" and with uncommitted changes is considered to be "after". @@ -298,7 +298,7 @@ class CompareRun(object): branch: Branch to checkout in the new repository. None will profile the same branch checked out in the original repo. Returns: - A dict mapping each test case name to the the profiling values for that + A dict mapping each test case name to the profiling values for that test case. """ build_dir = self._CreateTempRepo('repo_%s' % run_label, @@ -408,7 +408,7 @@ class CompareRun(object): build_dir: String with path to build directory Returns: - A dict mapping each test case name to the the profiling values for that + A dict mapping each test case name to the profiling values for that test case. """ results = {} @@ -431,7 +431,7 @@ class CompareRun(object): build_dir: String with path to build directory Returns: - A dict mapping each test case name to the the profiling values for that + A dict mapping each test case name to the profiling values for that test case. """ results = {} @@ -509,10 +509,10 @@ class CompareRun(object): """Draws conclusions comparing results of test runs in two branches. Args: - times_before_branch: A dict mapping each test case name to the the + times_before_branch: A dict mapping each test case name to the profiling values for that test case in the branch to be considered as the baseline. - times_after_branch: A dict mapping each test case name to the the + times_after_branch: A dict mapping each test case name to the profiling values for that test case in the branch to be considered as the new version. -- cgit v1.2.3