Commit d08f91aa authored by Owen Min's avatar Owen Min Committed by Commit Bot

Fix DCHECK typo in comments

Few DCHECK in comments are misspelled as DHCECK. Fix these typos.

Change-Id: Ic9e6da8ef5b1c7ac20425d0597a3e8a347dc9311
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096979Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748873}
parent 67ac9858
......@@ -869,7 +869,7 @@ IN_PROC_BROWSER_TEST_P(DataReductionProxyWithHoldbackBrowsertest,
// Load a webpage in holdback group as well. This ensures that while in
// holdback group, Chrome does not fetch the client config. If Chrome were to
// fetch the client config, the DHCECKs and other conditionals that check that
// fetch the client config, the DCHECKs and other conditionals that check that
// holdback is not enabled would trigger and cause the test to fail.
ui_test_utils::NavigateToURL(browser(), GURL("http://does.not.resolve/foo"));
......
......@@ -108,7 +108,7 @@ namespace performance_manager {
// -- user_of_foo.cc --
// Foo* foo = Foo::GetOrCreate(page_node);
// foo->DoSomething();
// DHCECK_EQ(foo, Foo::Get(page_node));
// DCHECK_EQ(foo, Foo::Get(page_node));
// DCHECK(Foo::Destroy(page_node));
// -- user_of_foo.cc --
......
......@@ -209,7 +209,7 @@ void DisplayLockContext::StartAcquire() {
// don't need to do anything as we should have already added containment.
// Moreover, dirtying self style from within style recalc is not allowed,
// since either it has no effect and is cleaned before any work is done, or it
// causes DHCECKs in AssertLayoutTreeUpdated().
// causes DCHECKs in AssertLayoutTreeUpdated().
if (!document_->InStyleRecalc()) {
element_->SetNeedsStyleRecalc(
kLocalStyleChange,
......
......@@ -184,7 +184,7 @@ class PositionTemplate {
// Note: Comparison of positions require both parameters are non-null. You
// should check null-position before comparing them.
// TODO(yosin): We should use |Position::operator<()| instead of
// |Position::comapreTo()| to utilize |DHCECK_XX()|.
// |Position::compareTo()| to utilize |DCHECK_XX()|.
int16_t CompareTo(const PositionTemplate<Strategy>&) const;
bool operator<(const PositionTemplate<Strategy>&) const;
bool operator<=(const PositionTemplate<Strategy>&) const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment