Commit b01268ba authored by Rainhard Findling's avatar Rainhard Findling Committed by Commit Bot

Typo fix: 'isntead' --> 'instead'

Change-Id: I9d976bd4c1a7af54500afbab57dea102f4301498
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100768
Auto-Submit: Rainhard Findling <rainhard@chromium.org>
Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: default avatarJan Wilken Dörrie <jdoerrie@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749761}
parent c39105be
...@@ -654,7 +654,7 @@ class BASE_EXPORT DictionaryValue : public Value { ...@@ -654,7 +654,7 @@ class BASE_EXPORT DictionaryValue : public Value {
// |out_value| is optional and will only be set if non-NULL. // |out_value| is optional and will only be set if non-NULL.
// DEPRECATED, use Value::FindBoolPath(path) instead. // DEPRECATED, use Value::FindBoolPath(path) instead.
bool GetBoolean(StringPiece path, bool* out_value) const; bool GetBoolean(StringPiece path, bool* out_value) const;
// DEPRECATED, use Value::FindIntPath(path) isntead. // DEPRECATED, use Value::FindIntPath(path) instead.
bool GetInteger(StringPiece path, int* out_value) const; bool GetInteger(StringPiece path, int* out_value) const;
// Values of both type Type::INTEGER and Type::DOUBLE can be obtained as // Values of both type Type::INTEGER and Type::DOUBLE can be obtained as
// doubles. // doubles.
......
...@@ -1352,7 +1352,7 @@ Output.prototype = { ...@@ -1352,7 +1352,7 @@ Output.prototype = {
// (because they don't cover any position). Still, we want to include // (because they don't cover any position). Still, we want to include
// these because they can be included (the selection span in an empty // these because they can be included (the selection span in an empty
// text field is an example), which is why we write the below code // text field is an example), which is why we write the below code
// using getSpansInstanceOf and check the endpoints (isntead of doing // using getSpansInstanceOf and check the endpoints (instead of doing
// the opposite). // the opposite).
result.getSpansInstanceOf(Output.NodeSpan).forEach(function(leftSpan) { result.getSpansInstanceOf(Output.NodeSpan).forEach(function(leftSpan) {
if (result.getSpanEnd(leftSpan) < result.length) if (result.getSpanEnd(leftSpan) < result.length)
......
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