Changeset 79145 in webkit


Ignore:
Timestamp:
Feb 19, 2011 7:10:29 PM (13 years ago)
Author:
andreas.kling@nokia.com
Message:

2011-02-19 Andreas Kling <kling@webkit.org>

Reviewed by Oliver Hunt.

DragController should use Color::serialized() when passing colors to CSSStyleDeclaration
https://bugs.webkit.org/show_bug.cgi?id=54545

  • page/DragController.cpp: (WebCore::DragController::concludeEditDrag):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r79141 r79145  
     12011-02-19  Andreas Kling  <kling@webkit.org>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        DragController should use Color::serialized() when passing colors to CSSStyleDeclaration
     6        https://bugs.webkit.org/show_bug.cgi?id=54545
     7
     8        * page/DragController.cpp:
     9        (WebCore::DragController::concludeEditDrag):
     10
    1112011-02-19  Sam Weinig  <sam@webkit.org>
    212
  • trunk/Source/WebCore/page/DragController.cpp

    r78632 r79145  
    404404        RefPtr<CSSStyleDeclaration> style = m_documentUnderMouse->createCSSStyleDeclaration();
    405405        ExceptionCode ec;
    406         // FIXME: Use Color::serialized() instead.
    407         style->setProperty("color", color.nameForRenderTreeAsText(), ec);
     406        style->setProperty("color", color.serialized(), ec);
    408407        if (!innerFrame->editor()->shouldApplyStyle(style.get(), innerRange.get()))
    409408            return false;
Note: See TracChangeset for help on using the changeset viewer.