CompositeEditCommands are implementation-details in WebCore and shouldn't be exposed to WebKit layer.
Created attachment 118851 [details] cleanup
Comment on attachment 118851 [details] cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=118851&action=review > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2246 > + bool selectReplacement = true; > + bool smartReplace = 0; > + return frame->editor()->replaceSelectionWithText(text, selectReplacement, smartReplace); We should change this to flags or enums, longer term. Also, we should use false instead of 0.
Comment on attachment 118851 [details] cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=118851&action=review Thanks for the review! >> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2246 >> + return frame->editor()->replaceSelectionWithText(text, selectReplacement, smartReplace); > > We should change this to flags or enums, longer term. Also, we should use false instead of 0. Oops, 0 was my mistake. Will fix. > Source/WebKit/chromium/src/WebFrameImpl.cpp:1125 > + bool selectReplacement = true; Oops, this should be false also. Will fix before landing it.
Committed r102627: <http://trac.webkit.org/changeset/102627>