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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp

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
Index: third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
index e4220b0b5b1494729f2daa86f1eb9b9e50c45ba1..bd3bb943963315b7f63b56ddd4973db89e4f9c3b 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
@@ -136,7 +136,7 @@ void HTMLFrameElementBase::parseAttribute(
const AtomicString& value = params.newValue;
if (name == srcdocAttr) {
if (!value.isNull()) {
- setLocation(srcdocURL().getString());
+ setLocation("about:srcdoc");
} else {
const AtomicString& srcValue = fastGetAttribute(srcAttr);
if (!srcValue.isNull())

Powered by Google App Engine
This is Rietveld 408576698