Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: third_party/WebKit/Source/core/dom/DOMURL.h

Issue 2680933005: Make static KURLs thread safe
Patch Set: :/ Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DOMURL.h
diff --git a/third_party/WebKit/Source/core/dom/DOMURL.h b/third_party/WebKit/Source/core/dom/DOMURL.h
index 1dccfa4fd2a3eb93544bb627ccc3a415499fe9f2..2a518c5f64566f7ce29846316998c70b9adcc6c7 100644
--- a/third_party/WebKit/Source/core/dom/DOMURL.h
+++ b/third_party/WebKit/Source/core/dom/DOMURL.h
@@ -48,7 +48,8 @@ class DOMURL final : public GarbageCollectedFinalized<DOMURL>,
public:
static DOMURL* create(const String& url, ExceptionState& exceptionState) {
- return new DOMURL(url, blankURL(), exceptionState);
+ return new DOMURL(url, KURL(ParsedURLString, kAboutBlankUrl),
esprehn 2017/02/15 02:05:17 it seems pretty bad to parse about:blank inside ev
Charlie Harrison 2017/02/15 02:44:03 OK, I will think of a redesign.
+ exceptionState);
}
static DOMURL* create(const String& url,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698