Changeset 126917 in webkit


Ignore:
Timestamp:
Aug 28, 2012, 12:59:52 PM (13 years ago)
Author:
wjmaclean@chromium.org
Message:

[unreviewed] Compile fix: windows compiler expects float but find double.

Need to specify a float literal when initialising the highlight animation duration.

  • src/LinkHighlight.cpp:

(WebKit::LinkHighlight::startHighlightAnimation):

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

Legend:

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

    r126914 r126917  
     12012-08-28  W. James MacLean  <wjmaclean@chromium.org>
     2
     3        [unreviewed] Compile fix: windows compiler expects float but find double.
     4 
     5        Need to specify a float literal when initialising the highlight animation duration.
     6 
     7        * src/LinkHighlight.cpp:
     8        (WebKit::LinkHighlight::startHighlightAnimation):
     9
    1102012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    211
  • trunk/Source/WebKit/chromium/src/LinkHighlight.cpp

    r126910 r126917  
    197197    const float startOpacity = 1;
    198198    // FIXME: Should duration be configurable?
    199     const float duration = 0.1;
     199    const float duration = 0.1f;
    200200
    201201    m_contentLayer->layer()->setOpacity(startOpacity);
Note: See TracChangeset for help on using the changeset viewer.