Changeset 130550 in webkit


Ignore:
Timestamp:
Oct 5, 2012, 2:13:38 PM (13 years ago)
Author:
jchaffraix@webkit.org
Message:

Unreviewed build fix after r130545.

  • tests/WebFrameTest.cpp:

Avoid a warning about truncating the double constant on Windows. While touching the variable, changed
it to be proper camelCase.

Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r130547 r130550  
     12012-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
    192012-10-05  Oli Lan  <olilan@chromium.org>
    210
  • trunk/Source/WebKit/chromium/tests/WebFrameTest.cpp

    r130545 r130550  
    505505    int viewportWidth = 640;
    506506    int viewportHeight = 480;
    507     float LeftBoxRatio = 0.3;
     507    float leftBoxRatio = 0.3f;
    508508    int caretPadding = 10;
    509509    int minReadableCaretHeight = 18;
     
    530530    webView->scrollFocusedNodeIntoRect(rect);
    531531    // 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;
    533533    EXPECT_EQ(hScroll, webView->mainFrame()->scrollOffset().width);
    534534    int vScroll = editBoxWithText.y * webView->pageScaleFactor() - (viewportHeight - editBoxWithText.height * webView->pageScaleFactor()) / 2;
Note: See TracChangeset for help on using the changeset viewer.