Changeset 130550 in webkit
- Timestamp:
- Oct 5, 2012, 2:13:38 PM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r130547 r130550 1 2012-10-05 Julien Chaffraix <jchaffraix@webkit.org> 2 3 Unreviewed build fix after r130545. 4 5 * tests/WebFrameTest.cpp: 6 Avoid a warning about truncating the double constant on Windows. While touching the variable, changed 7 it to be proper camelCase. 8 1 9 2012-10-05 Oli Lan <olilan@chromium.org> 2 10 -
trunk/Source/WebKit/chromium/tests/WebFrameTest.cpp
r130545 r130550 505 505 int viewportWidth = 640; 506 506 int viewportHeight = 480; 507 float LeftBoxRatio = 0.3;507 float leftBoxRatio = 0.3f; 508 508 int caretPadding = 10; 509 509 int minReadableCaretHeight = 18; … … 530 530 webView->scrollFocusedNodeIntoRect(rect); 531 531 // The edit box should be left aligned with a margin for possible label. 532 int hScroll = editBoxWithText.x * webView->pageScaleFactor() - LeftBoxRatio * viewportWidth;532 int hScroll = editBoxWithText.x * webView->pageScaleFactor() - leftBoxRatio * viewportWidth; 533 533 EXPECT_EQ(hScroll, webView->mainFrame()->scrollOffset().width); 534 534 int vScroll = editBoxWithText.y * webView->pageScaleFactor() - (viewportHeight - editBoxWithText.height * webView->pageScaleFactor()) / 2;
Note:
See TracChangeset
for help on using the changeset viewer.