Index: Source/core/editing/TextInsertionBaseCommand.cpp |
diff --git a/Source/core/editing/TextInsertionBaseCommand.cpp b/Source/core/editing/TextInsertionBaseCommand.cpp |
index 33fa85545bec418b2af7cf3a3d2588f26890c10e..e9a9b23ae18a40e42f4a7f2009db87b4326f4055 100644 |
--- a/Source/core/editing/TextInsertionBaseCommand.cpp |
+++ b/Source/core/editing/TextInsertionBaseCommand.cpp |
@@ -20,7 +20,7 @@ |
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include "config.h" |
@@ -75,7 +75,7 @@ bool canAppendNewLineFeedToSelection(const VisibleSelection& selection) |
Node* node = selection.rootEditableElement(); |
if (!node) |
return false; |
- |
+ |
RefPtr<BeforeTextInsertedEvent> event = BeforeTextInsertedEvent::create(String("\n")); |
node->dispatchEvent(event, IGNORE_EXCEPTION); |
return event->text().length(); |