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

Unified Diff: Source/modules/filesystem/DOMFileSystem.cpp

Issue 111603006: Simplify invokeCallback() and support void return values for IDL callbacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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: Source/modules/filesystem/DOMFileSystem.cpp
diff --git a/Source/modules/filesystem/DOMFileSystem.cpp b/Source/modules/filesystem/DOMFileSystem.cpp
index badd281e612c3391a0a6ddfeabb2adf3bbc74e06..7736ae85520b7ce3ec1b4dbc12a826f08c075c4e 100644
--- a/Source/modules/filesystem/DOMFileSystem.cpp
+++ b/Source/modules/filesystem/DOMFileSystem.cpp
@@ -121,9 +121,9 @@ public:
return adoptPtr(new ConvertToFileWriterCallback(callback));
}
- bool handleEvent(FileWriterBase* fileWriterBase)
+ void handleEvent(FileWriterBase* fileWriterBase)
{
- return m_callback->handleEvent(static_cast<FileWriter*>(fileWriterBase));
+ m_callback->handleEvent(static_cast<FileWriter*>(fileWriterBase));
}
private:
ConvertToFileWriterCallback(PassOwnPtr<FileWriterCallback> callback)

Powered by Google App Engine
This is Rietveld 408576698