| Index: Source/core/events/TouchEvent.cpp
|
| diff --git a/Source/core/events/TouchEvent.cpp b/Source/core/events/TouchEvent.cpp
|
| index 28f4b4ca3e3d18a95bdb016e9db0094e84e564c7..fb4743e225527a749362153d6854c156afe23ae2 100644
|
| --- a/Source/core/events/TouchEvent.cpp
|
| +++ b/Source/core/events/TouchEvent.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "core/events/EventDispatcher.h"
|
| #include "core/frame/FrameConsole.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
|
|
| namespace blink {
|
|
|
| @@ -98,8 +99,8 @@ void TouchEvent::preventDefault()
|
| // scrolling by consuming a touchmove event. Generate a warning if this
|
| // event is uncancelable.
|
| if (!cancelable() && view() && view()->frame()) {
|
| - view()->frame()->console().addMessage(JSMessageSource, WarningMessageLevel,
|
| - "Ignored attempt to cancel a " + type() + " event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.");
|
| + view()->frame()->console().addMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel,
|
| + "Ignored attempt to cancel a " + type() + " event with cancelable=false, for example because scrolling is in progress and cannot be interrupted."));
|
| }
|
| }
|
| void TouchEvent::trace(Visitor* visitor)
|
|
|