| Index: third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| index 5e88d20f06163d16beb9455f7b7881d317176e4a..7f7779b13f289f56573e3bb32ae470bef9cf4949 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| @@ -29,6 +29,7 @@
|
|
|
| #include "bindings/core/v8/ExceptionMessages.h"
|
| #include "bindings/core/v8/ExceptionState.h"
|
| +#include "bindings/core/v8/SourceLocation.h"
|
| #include "core/InputTypeNames.h"
|
| #include "core/dom/AXObjectCache.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -940,7 +941,8 @@ StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
|
| void InputType::addWarningToConsole(const char* messageFormat, const String& value) const
|
| {
|
| element().document().addConsoleMessage(ConsoleMessage::create(RenderingMessageSource, WarningMessageLevel,
|
| - String::format(messageFormat, JSONValue::quoteString(value).utf8().data())));
|
| + String::format(messageFormat, JSONValue::quoteString(value).utf8().data()),
|
| + SourceLocation::capture(&element().document())));
|
| }
|
|
|
| } // namespace blink
|
|
|