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..a38156eba7366b54071cde3af29953c939603113 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,11 @@ void DOMURLUtils::setPathname(const String& value) |
void DOMURLUtils::setSearch(const String& value) |
{ |
+ setQuery(value); |
+} |
+ |
+void DOMURLUtils::setQuery(const String& value) |
+{ |
KURL kurl = url(); |
if (!kurl.isValid()) |
return; |