Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutCounter.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL Description change, Typo patch apply to upstream master. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutCounter.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
index 8c5e15dde264875f027abc2f121bd167954d9225..4d545302663ecba641b40bfaf4e00c605a99c001 100644
--- a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
@@ -185,7 +185,7 @@ static bool findPlaceForCounter(LayoutObject& counterOwner, const AtomicString&
// check this layoutObject, because it may affect the positioning in the tree of our counter.
LayoutObject* searchEndLayoutObject = previousSiblingOrParent(counterOwner);
// We check layoutObjects in preOrder from the layoutObject that our counter is attached to
- // towards the begining of the document for counters with the same identifier as the one
+ // towards the beginning of the document for counters with the same identifier as the one
// we are trying to find a place for. This is the next layoutObject to be checked.
LayoutObject* currentLayoutObject = previousInPreOrder(counterOwner);
previousSibling = nullptr;
@@ -283,7 +283,7 @@ static bool findPlaceForCounter(LayoutObject& counterOwner, const AtomicString&
}
// This function is designed so that the same test is not done twice in an iteration, except for this one
// which may be done twice in some cases. Rearranging the decision points though, to accommodate this
- // performance improvement would create more code duplication than is worthwhile in my oppinion and may further
+ // performance improvement would create more code duplication than is worthwhile in my opinion and may further
// impede the readability of this already complex algorithm.
if (previousSiblingProtector)
currentLayoutObject = previousSiblingOrParent(*currentLayoutObject);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698