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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index b58ad9d58a5671c2a59199a0f0908775415a494f..83fc2b988542128e107ac87d6c39c82075705764 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -2980,7 +2980,7 @@ TEST_F(WebFrameTest, DontZoomInOnFocusedInTouchAction)
ASSERT_EQ(initialScale, webViewHelper.webViewImpl()->pageScaleFactor());
// Focus the third textbox that has a touch-action: pan-x ancestor, this
- // should cause an autozoom since it's seperated from the node with the
+ // should cause an autozoom since it's separated from the node with the
// touch-action by an overflow:scroll element.
webViewHelper.webView()->advanceFocus(false);
webViewHelper.webViewImpl()->scrollFocusedNodeIntoRect(WebRect());
@@ -3087,7 +3087,7 @@ TEST_F(WebFrameTest, DivScrollIntoEditablePreservePageScaleTest)
const WebRect editBoxWithText(200, 200, 250, 20);
webViewHelper.webView()->advanceFocus(false);
- // Set the caret to the begining of the input box.
+ // Set the caret to the beginning of the input box.
webViewHelper.webView()->mainFrame()->document().getElementById("EditBoxWithText").to<WebInputElement>().setSelectionRange(0, 0);
setScaleAndScrollAndLayout(webViewHelper.webViewImpl(), WebPoint(0, 0), 1);
WebRect rect, caret;
@@ -6417,7 +6417,7 @@ TEST_F(WebFrameTest, FrameViewScrollAccountsForTopControls)
webView->applyViewportDeltas(WebFloatSize(), WebFloatSize(), WebFloatSize(), 1.0f, -30.0f / topControlsHeight);
EXPECT_POINT_EQ(IntPoint(0, 1910), frameView->maximumScrollPosition());
- // Simulate a LayoutPart::resize. The frame is resized to accomodate
+ // Simulate a LayoutPart::resize. The frame is resized to accommodate
// the top controls and Blink's view of the top controls matches that of
// the CC
webView->applyViewportDeltas(WebFloatSize(), WebFloatSize(), WebFloatSize(), 1.0f, 30.0f / topControlsHeight);
@@ -7657,7 +7657,7 @@ TEST_P(ParameterizedWebFrameTest, RemoteFrameInitialCommitType)
view->setMainFrame(remoteClient.frame());
toRemoteFrame(toCoreFrame(view->mainFrame()))->securityContext()->setReplicatedOrigin(SecurityOrigin::create(toKURL(m_baseURL)));
- // If an iframe has a remote main frame, ensure the inital commit is correctly identified as WebInitialCommitInChildFrame.
+ // If an iframe has a remote main frame, ensure the initial commit is correctly identified as WebInitialCommitInChildFrame.
CommitTypeWebFrameClient childFrameClient;
WebLocalFrame* childFrame = view->mainFrame()->toWebRemoteFrame()->createLocalChild(WebTreeScopeType::Document, "", WebSandboxFlags::None, &childFrameClient, nullptr, WebFrameOwnerProperties());
registerMockedHttpURLLoad("foo.html");

Powered by Google App Engine
This is Rietveld 408576698