[webkit-reviews] review granted: [Bug 74490] Only EditCommandComposition should implement unapply and reapply : [Attachment 119401] Fixed Qt and Win builds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 16 12:42:38 PST 2011
Eric Seidel <eric at webkit.org> has granted Ryosuke Niwa <rniwa at webkit.org>'s
request for review:
Bug 74490: Only EditCommandComposition should implement unapply and reapply
https://bugs.webkit.org/show_bug.cgi?id=74490
Attachment 119401: Fixed Qt and Win builds
https://bugs.webkit.org/attachment.cgi?id=119401&action=review
------- Additional Comments from Eric Seidel <eric at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=119401&action=review
Seems reasonable. Obviously you need to fix Qt.
> Source/WebCore/editing/CompositeEditCommand.cpp:-203
> - RefPtr<CompositeEditCommand> command = prpCommand;
I'm not sure this is a negative pattern we should be removing.
>> Source/WebKit/qt/WebCoreSupport/EditCommandQt.h:23
>> +#include <UndoManagerEntry.h>
>
> I don't understand why Qt's giving the following error given that I'm
including UndoManagerEntry.h here:
>
> In file included from
../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp:21:
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.h:34: error: expected
')' before '<' token
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.h:44: error: ISO C++
forbids declaration of 'RefPtr' with no type
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.h:44: error: invalid
use of '::'
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.h:44: error: expected
';' before '<' token
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp:26: error:
expected ')' before '<' token
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp: In member
function 'virtual void EditCommandQt::redo()':
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp:51: error: 'm_cmd'
was not declared in this scope
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp: In member
function 'virtual void EditCommandQt::undo()':
> ../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp:58: error: 'm_cmd'
was not declared in this scope
> distcc[26227] ERROR: compile
../../../Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp on localhosFailed to
run "['Tools/Scripts/build-webkit', '--release', '--qt', '--makeargs="-j20"']"
exit_code: 2
Include cycle?
More information about the webkit-reviews
mailing list