Skip to content

Commit

Permalink
Fix misspelling "existance"
Browse files Browse the repository at this point in the history
third_party/ is excluded, except for third_party/WebKit and
third_party/blink.

This is uncovered by:
https://chromium-swarm.appspot.com/task?id=3f2afb7b4290f910

Bug: None
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:ios-simulator-full-configs;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ie17ea50e7f6aba3538acb488df92b4926b52f4c4
Reviewed-on: https://chromium-review.googlesource.com/1170441
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582384}
  • Loading branch information
wychen authored and Commit Bot committed Aug 10, 2018
1 parent 2bef755 commit fec2ace
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .gn
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ check_targets = [
# additions, we keep the build fast and clean. If you think you need to add a
# new call, please consider:
#
# - Do not use a script to check for the existance of a file or directory to
# - Do not use a script to check for the existence of a file or directory to
# enable a different mode. Instead, use GN build args to enable or disable
# functionality and set options. An example is checking for a file in the
# src-internal repo to see if the corresponding src-internal feature should
Expand Down
2 changes: 1 addition & 1 deletion cc/layers/texture_layer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CC_EXPORT TextureLayerImpl : public LayerImpl {
std::unique_ptr<viz::SingleReleaseCallback> release_callback);

// These methods notify the display compositor, through the
// CompositorFrameSink, of the existance of a SharedBitmapId and its
// CompositorFrameSink, of the existence of a SharedBitmapId and its
// mapping to a SharedMemory in |bitmap|. Then this SharedBitmapId can be used
// in TransferableResources inserted on the layer while it is registered. If
// the layer is destroyed, the SharedBitmapId will be unregistered
Expand Down
2 changes: 1 addition & 1 deletion cc/trees/layer_tree_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class CC_EXPORT LayerTreeSettings {
// Whether to use edge anti-aliasing for all layer types that supports it.
bool enable_edge_anti_aliasing = true;

// Whether to request presentation time regardless if existance of
// Whether to request presentation time regardless if existence of
// presentation time callbacks.
bool always_request_presentation_time = false;

Expand Down
2 changes: 1 addition & 1 deletion components/metrics/persistent_system_profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class PersistentSystemProfile {

// Retrieves the system profile from a persistent memory allocator. Returns
// true if a profile was successfully retrieved. If null is passed for the
// |system_profile|, only a basic check for the existance of one will be
// |system_profile|, only a basic check for the existence of one will be
// done.
static bool GetSystemProfile(
const base::PersistentMemoryAllocator& memory_allocator,
Expand Down
2 changes: 1 addition & 1 deletion ios/chrome/browser/ui/browser_view_controller.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,7 @@ - (void)addConstraintsToPrimaryToolbar {
}

// Only add leading and trailing constraints once as they are never updated.
// This uses the existance of |primaryToolbarOffsetConstraint| as a proxy for
// This uses the existence of |primaryToolbarOffsetConstraint| as a proxy for
// whether we've already added the leading and trailing constraints.
if (!self.primaryToolbarOffsetConstraint) {
[NSLayoutConstraint activateConstraints:@[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

function onload_test()
{
// test for existance of User Timing and Performance Timeline interface
// test for existence of User Timing and Performance Timeline interface
if (!has_required_interfaces())
{
test_true(false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

function onload_test()
{
// test for existance of User Timing and Performance Timeline interface
// test for existence of User Timing and Performance Timeline interface
if (!has_required_interfaces())
{
test_true(false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Tests co-existance of multiple DevTools extensions
Tests co-existence of multiple DevTools extensions

Started extension.
Running tests...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// found in the LICENSE file.

(async function() {
TestRunner.addResult(`Tests co-existance of multiple DevTools extensions\n`);
TestRunner.addResult(`Tests co-existence of multiple DevTools extensions\n`);
await TestRunner.loadModule('extensions_test_runner');

const tests = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,9 @@ test("prevUntil([String])", function() {
test("contents()", function() {
expect(12);
equals( jQuery("#ap").contents().length, 9, "Check element contents" );
ok( jQuery("#iframe").contents()[0], "Check existance of IFrame document" );
ok( jQuery("#iframe").contents()[0], "Check existence of IFrame document" );
var ibody = jQuery("#loadediframe").contents()[0].body;
ok( ibody, "Check existance of IFrame body" );
ok( ibody, "Check existence of IFrame body" );

equals( jQuery("span", ibody).text(), "span text", "Find span in IFrame and check its text" );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ int ChromiumDelete(sqlite3_vfs*, const char* file_name, int sync_dir) {
sync_dir);
}

// Check the existance and status of the given file.
// Check the existence and status of the given file.
//
// vfs - pointer to the sqlite3_vfs object.
// fileName - the name of the file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int ChromiumDelete(sqlite3_vfs*, const char* file_name, int) {
false);
}

// Check the existance and status of the given file.
// Check the existence and status of the given file.
//
// vfs - pointer to the sqlite3_vfs object.
// fileName - the name of the file.
Expand Down
2 changes: 1 addition & 1 deletion third_party/blink/renderer/modules/xr/xr_device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ScriptPromise XRDevice::supportsSession(
// Check to see if the device is capable of supporting the requested session
// options. Note that reporting support here does not guarantee that creating
// a session with those options will succeed, as other external and
// time-sensitve factors (focus state, existance of another immersive session,
// time-sensitve factors (focus state, existence of another immersive session,
// etc.) may prevent the creation of a session as well.
const char* reject_reason = checkSessionSupport(options);
if (reject_reason) {
Expand Down
2 changes: 1 addition & 1 deletion tools/chrome_proxy/webdriver/protocol_fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
}

# This string will be used as the response body in every test and will be
# checked for existance on the final loaded page.
# checked for existence on the final loaded page.
STATIC_RESPONSE_BODY = 'ok'

rand_str_re = re.compile(r'{{RAND_STR\((\d+)\)}}')
Expand Down

0 comments on commit fec2ace

Please sign in to comment.