Changeset 82946 in webkit


Ignore:
Timestamp:
Apr 5, 2011 9:34:45 AM (13 years ago)
Author:
leviw@chromium.org
Message:

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):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r82944 r82946  
     12011-04-05  Levi Weintraub  <leviw@chromium.org>
     2
     3        Reviewed by Ryosuke Niwa.
     4
     5        DeleteButtonController is given invalid style
     6        https://bugs.webkit.org/show_bug.cgi?id=57853
     7
     8        DeleteButtonController was assigned an invalid style that can lead to assertions
     9        in debug builds. This matches up the code with its intent.
     10
     11        No new tests as this changes nothing on release builds.
     12
     13        * editing/DeleteButtonController.cpp:
     14        (WebCore::DeleteButtonController::createDeletionUI):
     15
    1162011-04-05  Anders Bakken  <agbakken@gmail.com>
    217
  • trunk/Source/WebCore/editing/DeleteButtonController.cpp

    r82529 r82946  
    193193    style->setProperty(CSSPropertyWebkitUserDrag, CSSValueNone);
    194194    style->setProperty(CSSPropertyWebkitUserSelect, CSSValueNone);
    195     style->setProperty(CSSPropertyWebkitUserModify, CSSValueNone);
     195    style->setProperty(CSSPropertyWebkitUserModify, CSSValueReadOnly);
    196196    style->setProperty(CSSPropertyVisibility, CSSValueHidden);
    197197    style->setProperty(CSSPropertyPosition, CSSValueAbsolute);
Note: See TracChangeset for help on using the changeset viewer.