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

Unified Diff: Source/core/xml/DOMParser.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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 | « Source/core/workers/WorkerThread.cpp ('k') | Source/core/xml/XMLHttpRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/DOMParser.cpp
diff --git a/Source/core/xml/DOMParser.cpp b/Source/core/xml/DOMParser.cpp
index d01b7db47abd58708a03a63a7198f43d297ceb66..c454232681cb23628dbeaa7c01cd6614d477aeca 100644
--- a/Source/core/xml/DOMParser.cpp
+++ b/Source/core/xml/DOMParser.cpp
@@ -37,7 +37,7 @@ PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String&
&& contentType != "application/xhtml+xml"
&& contentType != "image/svg+xml") {
exceptionState.throwDOMException(TypeError, "Unsupported mime-type specified.");
- return 0;
+ return nullptr;
}
RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, KURL(), false);
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/core/xml/XMLHttpRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698