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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.cpp

Issue 2011783002: Rename OwnPtr::clear() to reset() in platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp ('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/platform/weborigin/KURL.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.cpp b/third_party/WebKit/Source/platform/weborigin/KURL.cpp
index 63fec31d0b9d9b78b004d8e27ca253f62a8b73dc..d8b32348d5118f0a884357d8f441ec55a1abf7c6 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.cpp
@@ -290,7 +290,7 @@ KURL& KURL::operator=(const KURL& other)
if (other.m_innerURL)
m_innerURL = adoptPtr(new KURL(other.m_innerURL->copy()));
else
- m_innerURL.clear();
+ m_innerURL.reset();
return *this;
}
@@ -814,13 +814,13 @@ void KURL::init(const KURL& base, const CHAR* relative, int relativeLength, cons
void KURL::initInnerURL()
{
if (!m_isValid) {
- m_innerURL.clear();
+ m_innerURL.reset();
return;
}
if (url::Parsed* innerParsed = m_parsed.inner_parsed())
m_innerURL = adoptPtr(new KURL(ParsedURLString, m_string.substring(innerParsed->scheme.begin, innerParsed->Length() - innerParsed->scheme.begin)));
else
- m_innerURL.clear();
+ m_innerURL.reset();
}
template<typename CHAR>
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698