Changeset 80603 in webkit
- Timestamp:
- Mar 8, 2011 4:18:46 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r80602 r80603 1 2011-03-08 Jeff Miller <jeffm@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 WebKit2: Redo is broken 6 https://bugs.webkit.org/show_bug.cgi?id=55978 7 8 WebEditCommandProxy::unapply() and WebEditCommandProxy::reapply() were registering the wrong edit command when an undo or redo happens. 9 For example, when we unapply(), we should register a Redo command, not an Undo command. 10 11 * UIProcess/WebEditCommandProxy.cpp: 12 (WebKit::WebEditCommandProxy::unapply): Register a Redo command, not an Undo command. 13 (WebKit::WebEditCommandProxy::reapply): Register an Undo command, not a Redo command. 14 1 15 2011-03-08 Brent Fulgham <bfulgham@webkit.org> 2 16 -
trunk/Source/WebKit2/UIProcess/WebEditCommandProxy.cpp
r76916 r80603 55 55 56 56 m_page->process()->send(Messages::WebPage::UnapplyEditCommand(m_commandID), m_page->pageID()); 57 m_page->registerEditCommand(this, WebPageProxy:: Undo);57 m_page->registerEditCommand(this, WebPageProxy::Redo); 58 58 } 59 59 … … 64 64 65 65 m_page->process()->send(Messages::WebPage::ReapplyEditCommand(m_commandID), m_page->pageID()); 66 m_page->registerEditCommand(this, WebPageProxy:: Redo);66 m_page->registerEditCommand(this, WebPageProxy::Undo); 67 67 } 68 68
Note: See TracChangeset
for help on using the changeset viewer.