Commit a5108c07 authored by leviw@chromium.org's avatar leviw@chromium.org

2011-04-05 Levi Weintraub <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        DeleteButtonController is given invalid style
        https://bugs.webkit.org/show_bug.cgi?id=57853

        DeleteButtonController was assigned an invalid style that can lead to assertions
        in debug builds. This matches up the code with its intent.

        No new tests as this changes nothing on release builds.

        * editing/DeleteButtonController.cpp:
        (WebCore::DeleteButtonController::createDeletionUI):


git-svn-id: svn://svn.chromium.org/blink/trunk@82946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent eb0ee5c5
2011-04-05 Levi Weintraub <leviw@chromium.org>
Reviewed by Ryosuke Niwa.
DeleteButtonController is given invalid style
https://bugs.webkit.org/show_bug.cgi?id=57853
DeleteButtonController was assigned an invalid style that can lead to assertions
in debug builds. This matches up the code with its intent.
No new tests as this changes nothing on release builds.
* editing/DeleteButtonController.cpp:
(WebCore::DeleteButtonController::createDeletionUI):
2011-04-05 Anders Bakken <agbakken@gmail.com> 2011-04-05 Anders Bakken <agbakken@gmail.com>
Reviewed by Laszlo Gombos. Reviewed by Laszlo Gombos.
...@@ -192,7 +192,7 @@ void DeleteButtonController::createDeletionUI() ...@@ -192,7 +192,7 @@ void DeleteButtonController::createDeletionUI()
CSSMutableStyleDeclaration* style = container->getInlineStyleDecl(); CSSMutableStyleDeclaration* style = container->getInlineStyleDecl();
style->setProperty(CSSPropertyWebkitUserDrag, CSSValueNone); style->setProperty(CSSPropertyWebkitUserDrag, CSSValueNone);
style->setProperty(CSSPropertyWebkitUserSelect, CSSValueNone); style->setProperty(CSSPropertyWebkitUserSelect, CSSValueNone);
style->setProperty(CSSPropertyWebkitUserModify, CSSValueNone); style->setProperty(CSSPropertyWebkitUserModify, CSSValueReadOnly);
style->setProperty(CSSPropertyVisibility, CSSValueHidden); style->setProperty(CSSPropertyVisibility, CSSValueHidden);
style->setProperty(CSSPropertyPosition, CSSValueAbsolute); style->setProperty(CSSPropertyPosition, CSSValueAbsolute);
style->setProperty(CSSPropertyCursor, CSSValueDefault); style->setProperty(CSSPropertyCursor, CSSValueDefault);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment