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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp

Issue 2007983006: Rename OwnPtr::clear() to reset() in modules/. (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
Index: third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
index 92ced98dc9b4c375e404530b0d9d4ec21c5a5e1f..9a860087b064d472d19c7a943e3f8f971d78bac1 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
@@ -75,7 +75,7 @@ public:
m_updater->update(createUnexpectedErrorDataConsumerHandle());
if (m_loader) {
m_loader->cancel();
- m_loader.clear();
+ m_loader.reset();
}
}
@@ -133,14 +133,14 @@ private:
void didFinishLoading(unsigned long, double) override
{
- m_loader.clear();
+ m_loader.reset();
}
void didFail(const ResourceError&) override
{
if (!m_receivedResponse)
m_updater->update(createUnexpectedErrorDataConsumerHandle());
- m_loader.clear();
+ m_loader.reset();
}
void didFailRedirectCheck() override

Powered by Google App Engine
This is Rietveld 408576698