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

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

Issue 2749803003: Initialize document m_URL, m_baseURL to blankURL. (Closed)
Patch Set: Rebased. Created 3 years, 9 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 | « third_party/WebKit/LayoutTests/platform/win/external/wpt/dom/interfaces-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 2a5f7b490cdb9622aaa1c6348342294d5f006ba6..9cc4fa66249618c7a2d9374115c31859894316a9 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1444,8 +1444,10 @@ class CORE_EXPORT Document : public ContainerNode,
bool m_wellFormed;
// Document URLs.
- KURL m_url; // Document.URL: The URL from which this document was retrieved.
- KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs.
+ KURL m_url = blankURL(); // Document.URL: The URL from which this document
+ // was retrieved.
+ KURL m_baseURL =
+ blankURL(); // Node.baseURI: The URL to use when resolving relative URLs.
KURL m_baseURLOverride; // An alternative base URL that takes precedence over
// m_baseURL (but not m_baseElementURL).
KURL m_baseElementURL; // The URL set by the <base> element.
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/external/wpt/dom/interfaces-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698