| Index: third_party/WebKit/Source/core/dom/DOMURLUtils.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DOMURLUtils.cpp b/third_party/WebKit/Source/core/dom/DOMURLUtils.cpp
|
| index 7b3d670d252cd1a4f2b85848c23023b0a37f4785..5c3e759afe179202e437d6d4e8c6ebf430323711 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMURLUtils.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMURLUtils.cpp
|
| @@ -26,10 +26,15 @@
|
|
|
| #include "core/dom/DOMURLUtils.h"
|
|
|
| +#include "bindings/core/v8/ExceptionState.h"
|
| #include "platform/weborigin/KnownPorts.h"
|
|
|
| namespace blink {
|
|
|
| +DOMURLUtils::~DOMURLUtils()
|
| +{
|
| +}
|
| +
|
| void DOMURLUtils::setHref(const String& value)
|
| {
|
| setInput(value);
|
| @@ -117,6 +122,12 @@ void DOMURLUtils::setPathname(const String& value)
|
|
|
| void DOMURLUtils::setSearch(const String& value)
|
| {
|
| + setSearchInternal(value);
|
| +}
|
| +
|
| +void DOMURLUtils::setSearchInternal(const String& value)
|
| +{
|
| + ASSERT(!m_isInUpdate);
|
| KURL kurl = url();
|
| if (!kurl.isValid())
|
| return;
|
|
|