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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileWriter.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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/filesystem/FileWriter.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
index 5a77eb8e3d0d089de4541a04c77e2a3baef036eb..a09fdfc9b11f86331d54290c8010a5a012a4671b 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
@@ -65,14 +65,14 @@ FileWriter::FileWriter(ExecutionContext* context)
FileWriter::~FileWriter() {
ASSERT(!m_recursionDepth);
if (m_readyState == kWriting)
- stop();
+ contextDestroyed();
}
const AtomicString& FileWriter::interfaceName() const {
return EventTargetNames::FileWriter;
}
-void FileWriter::stop() {
+void FileWriter::contextDestroyed() {
// Make sure we've actually got something to stop, and haven't already called abort().
if (!writer() || m_readyState != kWriting)
return;

Powered by Google App Engine
This is Rietveld 408576698